add an initial very rough description of how `explicit' is handled
From-SVN: r15883
This commit is contained in:
parent
fee23f5442
commit
e050253aa5
1 changed files with 7 additions and 0 deletions
|
@ -238,6 +238,13 @@ The functions @code{convert_to_aggr} and @code{build_method_call} use
|
|||
a given candidate function (that's how we get the list of candidates for
|
||||
@code{ideal_candidate}).
|
||||
|
||||
@item The Explicit Keyword
|
||||
|
||||
The use of @code{explicit} on a constructor is used by @code{grokdeclarator}
|
||||
to set the field @code{DECL_NONCONVERTING_P}. That value is used by
|
||||
@code{build_method_call} and @code{build_user_type_conversion_1} to decide
|
||||
if a particular constructor should be used as a candidate for conversions.
|
||||
|
||||
@end itemize
|
||||
|
||||
@node Glossary, Macros, Implementation Specifics, Top
|
||||
|
|
Loading…
Add table
Reference in a new issue