Thread View: comp.std.c++
1 messages
1 total messages
Started by Steve Clamage
Thu, 17 Aug 1995 19:18
Re: [Q] Templates Functions within Template Cl
Author: Steve Clamage
Date: Thu, 17 Aug 1995 19:18
Date: Thu, 17 Aug 1995 19:18
24 lines
1588 bytes
1588 bytes
In article <3vj6m8$8it@engnews2.eng.sun.com>,
Steve Clamage <clamage@Eng.Sun.COM> wrote:
>>I'm trying to create a template function within a template class. Is there
>>any way to do this?
>
>Nested templates were disallowed by the ARM. The C++ draft standard
>allows them, but I don't know of any widely-available compiler that
>implements them yet.
Well, I feel better knowing that they _will_ be allowed. People have
suggested making the class have two parameterized types, but that changes
the functionality quite a bit and will not work for what I need.
Do you know why this was disallowed originally?
Brian
( bcwhite@bnr.ca )
-------------------------------------------------------------------------------
In theory, theory and practice are the same. In practice, they're not.
[ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
Contact address: std-c++-request@ncar.ucar.edu. The moderation policy
is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
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