Topic: Implicit Template Instantiation
Author: "Alfred R. Schuler" <schuler@ait.nrl.navy.mil>
Date: 1996/07/16 Raw View
Section 14.3.2.4 of the ANSI/ISO C++ specification (dtd 4/28/95)
states in part "A template can be either explicitly instantiated for
a given argument list or be implicitly instantiated". Is this an
affirmation that C++ compilers meeting the standard are REQUIRED to
support implicit template instantiation? The wording in the spec
does not make this crystal clear.
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]
Author: fjh@mundook.cs.mu.OZ.AU (Fergus Henderson)
Date: 1996/07/16 Raw View
"Alfred R. Schuler" <schuler@ait.nrl.navy.mil> writes:
>Section 14.3.2.4 of the ANSI/ISO C++ specification (dtd 4/28/95)
>states in part "A template can be either explicitly instantiated for
>a given argument list or be implicitly instantiated". Is this an
>affirmation that C++ compilers meeting the standard are REQUIRED to
>support implicit template instantiation?
Yes, that's the intent.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp.
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]