X hits on this document

899 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 views899
Page views899
Page last viewedTue Dec 06 16:41:17 UTC 2016
Pages396
Paragraphs9401
Words133190

Comments