diff options
author | Brendan Kehoe <brendan@gcc.gnu.org> | 1997-10-09 20:05:55 -0400 |
---|---|---|
committer | Brendan Kehoe <brendan@gcc.gnu.org> | 1997-10-09 20:05:55 -0400 |
commit | e050253aa5c19dd6ff943cb1e1a660d95c08c18e (patch) | |
tree | 342a01ee20073d5e0a881ecbe1b6fe9ec05b417a /gcc | |
parent | fee23f544251e0182e2c1430ee36dd3256fe301e (diff) | |
download | gcc-e050253aa5c19dd6ff943cb1e1a660d95c08c18e.zip gcc-e050253aa5c19dd6ff943cb1e1a660d95c08c18e.tar.gz gcc-e050253aa5c19dd6ff943cb1e1a660d95c08c18e.tar.bz2 |
add an initial very rough description of how `explicit' is handled
From-SVN: r15883
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/gxxint.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/cp/gxxint.texi b/gcc/cp/gxxint.texi index 5b7f913..975512c 100644 --- a/gcc/cp/gxxint.texi +++ b/gcc/cp/gxxint.texi @@ -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 |