Map
Index
Random
Help
th

Quote: argument matching rules for C++: exact match, integral promotions, standard conversions, user-defined conversions, parameter ellipsis; must be unique at a level

topics > all references > references sa-sz > QuoteRef: stroB_1991 , p. 130



Topic:
type conversion
Topic:
generic operations and polymorphism

Quotation Skeleton

[The simplified argument matching rules for C++ are] [1] Exact match; that is, match using … function, and T to 'const T'). [2] Match using integral promotions [e.g., short to int and float to double]. … [3] Match using standard conversions [e.g., int to double]. … [4] Match using user-defined conversions … [5] Match using the ellipsis … in a function declaration. If two matches are …   Google-1   Google-2

Copyright clearance needed for quotation.


Related Topics up

Topic: type conversion (33 items)
Topic: generic operations and polymorphism (65 items)

Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.