V
Vivek Krishna
Hi ,
I am writing code that makes use of certain C++ STL features (ex
hash_map) and their usage is slightly different between versions<3.3
and versions beyond 3.3 ,such as which file to include (ext/hash_map
or hash_map ) and whether to define the __gnu_cxx namespace. I want to
be able to detect using a macro (preferably ) which g++ version I am
using and write code for accordingly ..Is this possible.
Vivek
I am writing code that makes use of certain C++ STL features (ex
hash_map) and their usage is slightly different between versions<3.3
and versions beyond 3.3 ,such as which file to include (ext/hash_map
or hash_map ) and whether to define the __gnu_cxx namespace. I want to
be able to detect using a macro (preferably ) which g++ version I am
using and write code for accordingly ..Is this possible.
Vivek