This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/35622] Cannot declare vector of unordered_maps
- From: "chris at bubblescope dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2008 15:02:10 -0000
- Subject: [Bug libstdc++/35622] Cannot declare vector of unordered_maps
- References: <bug-35622-15935@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from chris at bubblescope dot net 2008-03-18 15:02 -------
#include <vector>
#include <tr1/unordered_map>
using namespace std;
int main(void)
{
vector<tr1::unordered_map<int,int> > v;
}
Runs fine here, using:
Using built-in specs.
Target: i386-apple-darwin9.2.0
Configured with: ../gcc/configure --enable-languages=c,c++
--prefix=/Users/caj/gccsvn/
Thread model: posix
gcc version 4.4.0 20080305 (experimental) (GCC)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35622