Skip to content

Instantly share code, notes, and snippets.

@Bigcheese
Created June 21, 2012 20:56
Show Gist options
  • Save Bigcheese/2968479 to your computer and use it in GitHub Desktop.
Save Bigcheese/2968479 to your computer and use it in GitHub Desktop.
3>C:\Users\mspencer\Projects\llvm-project\llvm\tools\llvm-cltest\llvm-cltest.cpp(129): error C2678: binary '[' : no operator found which takes a left-hand operand of type 'const `anonymous-namespace'::Argument::ValueMap' (or there is no acceptable conversion)
3> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\map(173): could be 'std::basic_string<_Elem,_Traits,_Alloc> &std::map<_Kty,_Ty>::operator [](unsigned int &&)'
3> with
3> [
3> _Elem=char,
3> _Traits=std::char_traits<char>,
3> _Alloc=std::allocator<char>,
3> _Kty=unsigned int,
3> _Ty=std::string
3> ]
3> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\map(190): or 'std::basic_string<_Elem,_Traits,_Alloc> &std::map<_Kty,_Ty>::operator [](const unsigned int &)'
3> with
3> [
3> _Elem=char,
3> _Traits=std::char_traits<char>,
3> _Alloc=std::allocator<char>,
3> _Kty=unsigned int,
3> _Ty=std::string
3> ]
3> while trying to match the argument list '(const `anonymous-namespace'::Argument::ValueMap, unsigned int)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment