This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: I'm sorry, but this is unacceptable (union members and ctors)
- From: "michael.a" <wild dot eyed dot boy dot from dot freecloud at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 17 Jun 2007 10:41:17 -0700 (PDT)
- Subject: Re: I'm sorry, but this is unacceptable (union members and ctors)
- References: <11149318.post@talk.nabble.com> <46757087.3010303@aaronwl.com>
Aaron W. LaFramboise-3 wrote:
>
> michael.a wrote:
>
>> So in closing, I'm interested in any ideas / advice, but compromising the
>> existing codebase is completely out of the question. You have my
>> appreciation in advance naturally...
>
> I suspect the proper solution here is something from www.boost.org. You
> didn't say exactly what you needed, but if its anything related to a
> common programming pattern, Boost has probably already implemented it in
> a portable or standard manner. See
> <http://www.boost.org/libs/libraries.htm>.
>
> In particular, see Boost optional, and aligned_storage in Boost
> typetraits.
>
> Other people have already pointed it out, but I'll say it again:
> language extensions are almost always the wrong solution for these sorts
> of problems.
>
>
I appreciate the thought, but there is sort of an imperitive with this
effort to shy away from Boost/STL/virtual inheritance completely.
--
View this message in context: http://www.nabble.com/I%27m-sorry%2C-but-this-is-unacceptable-%28union-members-and-ctors%29-tf3930964.html#a11165310
Sent from the gcc - Dev mailing list archive at Nabble.com.