This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18604] [3.4/4.0/4.1 Regression] Strong using lookup conflicts
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 May 2005 12:18:04 -0000
- Subject: [Bug c++/18604] [3.4/4.0/4.1 Regression] Strong using lookup conflicts
- References: <20041122050208.18604.giovannibajo@libero.it>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2005-05-09 12:18 -------
There are others unqualified names as default template parmaters, for
instance "allocator". A good testcase would be something like:
----------------------------------
struct less;
struct allocator;
struct vector;
struct set;
struct pair;
struct map;
/*....*/
#include <set>
#include <vector>
#include <map>
#include <functional>
/*....*/
----------------------------------
which should compile without errors.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18604