Commit e050253a by Brendan Kehoe

add an initial very rough description of how `explicit' is handled

From-SVN: r15883
parent fee23f54
...@@ -238,6 +238,13 @@ The functions @code{convert_to_aggr} and @code{build_method_call} use ...@@ -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 a given candidate function (that's how we get the list of candidates for
@code{ideal_candidate}). @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 @end itemize
@node Glossary, Macros, Implementation Specifics, Top @node Glossary, Macros, Implementation Specifics, Top
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment