I am using C++ (not 11) and using some libraries which have different typedefs for integer data types. Is there any way I can assert that two typedefs are the same type? I\'
Since you don't have C++11, use boost.
BOOST_STATIC_ASSERT(boost::is_same::value);
You can write some kind of your assert function, instead of BOOST_STATIC_ASSERT.
BOOST_STATIC_ASSERT