Original Post
I'm in the process of debugging a rather massive system and I keep getting back to a part of the code that makes heavy use of std::map, std::long >, the code itself compiles perfectly well and for what I hear it has been working fine for years.
But still... is it really legal to use an std::vector as a key? I have never seen anyone use it before but I guess its legal as long as all the needed operators are provided.
Edit >> Sry forgot to say this is C++.
But still... is it really legal to use an std::vector as a key? I have never seen anyone use it before but I guess its legal as long as all the needed operators are provided.
Edit >> Sry forgot to say this is C++.