]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
add an initial very rough description of how `explicit' is handled
authorBrendan Kehoe <brendan@gcc.gnu.org>
Fri, 10 Oct 1997 00:05:55 +0000 (20:05 -0400)
committerBrendan Kehoe <brendan@gcc.gnu.org>
Fri, 10 Oct 1997 00:05:55 +0000 (20:05 -0400)
From-SVN: r15883

gcc/cp/gxxint.texi

index 5b7f9132aca9341549188b3725c873e409cb8e8e..975512ca5570f702ec5256c7378852f2ea818e09 100644 (file)
@@ -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