Thread View: comp.std.c++
1 messages
1 total messages
Started by Michael J. Vilot
Wed, 10 Apr 1991 11:43
RE: overloading templates
Author: Michael J. Vilot
Date: Wed, 10 Apr 1991 11:43
Date: Wed, 10 Apr 1991 11:43
23 lines
1117 bytes
1117 bytes
>Message-ID: <1991Apr4.114557.17897@kodak.kodak.com> >Sender: cok@Kodak.COM > >Is it expected that class template definitions will be able to be overloaded >or have default arguments? The Annotated Reference Manual, p. 342: the grammar for _template-argument_ includes _argument-declaration_, which has at least one production allowing default arguments. p. 343: "A class template name must be unique in a program and may not be declared to refer to any other template, class, function, object, bvalue, or type in the same scope." p. 345: "A template function may be overloaded either by (other) functions of its name or by (other) template functions of that same name." Hope this helps, Mike
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads