This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/35622] Cannot declare vector of unordered_maps



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]