File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 698
698
were present in the definition of \tcode {D};
699
699
that is, the default argument or default template argument
700
700
is subject to the requirements described in this paragraph (recursively).
701
+ \end {itemize }
702
+
703
+ \pnum
704
+ For the purposes of the preceding requirements:
701
705
706
+ \begin {itemize }
702
707
\item If \tcode {D} is a class with an implicitly-declared
703
708
constructor\iref {class.default.ctor,class.copy.ctor },
704
709
it is as if the constructor was
738
743
implicitly defined in every translation unit where it is odr-used, and the
739
744
implicit definition in every translation unit shall call the same
740
745
comparison operators for each subobject of \tcode {D}.
741
- \end {itemize }
742
746
743
- \pnum
747
+ \item
744
748
If \tcode {D} is a template and is defined in more than one
745
- translation unit, then the preceding requirements
746
- shall apply both to names from the template's enclosing scope used in the
749
+ translation unit, the requirements
750
+ apply both to names from the template's enclosing scope used in the
747
751
template definition, and also to dependent names at
748
752
the point of instantiation\iref {temp.dep }.
753
+ \end {itemize }
754
+
755
+ \pnum
749
756
These requirements also apply to corresponding entities
750
757
defined within each definition of \tcode {D}
751
758
(including the closure types of \grammarterm {lambda-expression}{s},
You can’t perform that action at this time.
0 commit comments