|
Boost Users : |
From: John Maddock (john_at_[hidden])
Date: 2004-10-06 05:08:15
> Perhaps I can ask one more question about this strange behaviour, just
> because I want to understand why:
> I try to use my own string class, which is inherited from std::string.
> Defining "VC6_STUPID_BEHAVIOUR" in the example code below compile and run
> the code successfuly, using the expanded name leads to following compiler
> error:
> error C2614: 'MyCString' : illegal member initialization: 'string'
> is not a base or member
>
> You know WHY??? Also because of the same compiler error in VC6 or is there
> something else wrong.
> On Solaris and HP-UX it works fine in every combination.
I've no idea, it looks to me like the code should compile either which way,
so I guess it's yet another compiler bug.
John.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net