This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to Compile libstdc++ v3 by gcc 2.95.3?


On Mon, Apr 15, 2002 at 02:30:15PM +0200, Gabriel Dos Reis wrote:
> John Love-Jensen <eljay@adobe.com> writes:
> 
> | Hi Chih-Wei,
> | 
> | Not that this will help with your compile issue, but...
> | 
> | You shouldn't inherit from the STL classes.
> 
> Certainly you can.  It just depend on what you're doing with your
> derived class.
> 
> At any rate, whether it is conforming to one's religion to inherit
> from an STL class is irrelevant to the issue raised by the original 
> poster. 
> 
> -- Gaby

My mistake. But the errors are the same even though I use containment.

class bar { std::stack<int> s; };


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]