[Bug libstdc++/14370] Problems with forward declaration of the vector class breaks boost

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Mon Mar 1 21:23:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list