X hits on this document

1382 views

0 shares

0 downloads

0 comments

118 / 396

Chapter ‎18   Unsafe code

If U contains exactly one user-defined conversion operator that converts from SX to TX, then this is the most specific conversion operator. If no such operator exists, or if more than one such operator exists, then the conversion is ambiguous and a compile-time error occurs. Otherwise, the user-defined conversion is applied:

If S is not SX, then a standard explicit conversion from S to SX is performed.

The most specific user-defined conversion operator is invoked to convert from SX to TX.

If TX is not T, then a standard explicit conversion from TX to T is performed.

Copyright Microsoft Corporation 1999-2003. All Rights Reserved.105

Document info
Document views1382
Page views1382
Page last viewedSun Jan 22 18:51:35 UTC 2017
Pages396
Paragraphs9401
Words133190

Comments