Skip to content

Can't use STL classes with ::std prefix (in difference from just std) #1

@GoogleCodeExporter

Description

@GoogleCodeExporter
Griffin-ing the next code produces error in 4robin.cc:
"""
#include <vector>

::std::vector<int> getVec() {
  ::std::vector<int> v;
  return v;
}
"""

The error is:
"""
// ::std::vector< int >: location specification may be missing?
"""

It does work for if I don't use the tag_vector.h created tag, or if I use the 
content of tag_vector.h 
to the file I'm working with.

Original issue reported on code.google.com by misha.seltzer on 4 Jun 2009 at 8:06

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions