This means ISO C ++ standard 14.6.4.1
4 if no virtual If the function is institute, then its immediate immediate affiliate template template is running immediately after the specialist. 5. An immediate instant instructional explanation or specialization for an explanation is an immediate point specified by the explicit principle. 6. Depending on the template logic that the immediate context of an expression is the set of announcements with an external connection declared before the immediate point of template expertise in the same translation unit.
I am unable to write a program for this whole section. I am trying to write a program from tomorrow to this section.
Please, generally I will try to ask one or more points. In any section but here I am unable to understand a point in this section.
So, no one can give me the code to understand this class.
The first two descriptions indicate where some template templates are in immediate location; If this does not start building a new template, then you can reuse your previous instances.
The third statement (14.6.4.1/6) tells us what is the immediate point: they are the point where names are seen during the second phase of the name. The name that has been declared ago , the immediate points are visible; Those are not declared later (In the first step of looking at the names of two steps, non-dependent names are seen in the set of announcements before the template definition ).
So, given:
template & lt; Typename T & gt; Zero foo () {t () + t (); }
The immediate reference to the expression T () + T ()
is a set of announcements that foo < Occurs before the corresponding points of T & gt;
. Name operator +
is seen in those references, and includes announcements that follow this definition but before immediate point
Comments
Post a Comment