This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/14370] Problems with forward declaration of the vector class breaks boost
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Mar 2004 21:23:46 -0000
- Subject: [Bug libstdc++/14370] Problems with forward declaration of the vector class breaks boost
- References: <20040301201947.14370.schmid@snake.iap.physik.tu-darmstadt.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2004-03-01 21:23 -------
Subject: Re: New: Problems with forward declaration of the vector class breaks boost
"schmid at snake dot iap dot physik dot tu-darmstadt dot de" <gcc-bugzilla@gcc.gnu.org> writes:
| Gcc 3.4.0 does not compile the file boost/libs/lambda/test/switch_construct.cpp
| from the current boost repository, whereas gcc 3.3 accepts this file. I reduced
| the code to the appended test case. This problem is responsible for three
| failures in boost.
|
| source code t.C
|
| namespace std {
| template <class T, class Allocator> class vector;
| }
This has usually been described as invoking an undefined bahviour.
I suppose "strong using" just makes it more obvious to users.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14370