How to check that two integer typedefs are equivalent?
<p>I am using some libraries which have their own definitions for integer types. How can I check that two typedefs are for equivalent types? I asked in another question how to check that two typedefs are the same. However, suppose int and long int are both 32-bit on my compiler, and two libraries might use each. I want the check to report that typedef of int and typedef of long int are the same for this compiler (perhaps not for another). Thanks.</p>

<p>This is not the same as the other question. The solution to the other question has (int) and (long int) fail the check, even if both are 32-bit. Now I want them to pass the check please.</p>

<p>I am not using C++11.</p>
