with -std=c++0x typeof is gone

me22 me22.ca@gmail.com
Thu Jan 28 22:22:00 GMT 2010


On 28 January 2010 17:16, Patrick Horgan <phorgan1@yahoo.com> wrote:
>
> So are you saying something like:
>
>     typedef std::make_signed<declspec(T() - T())> difftype;
>

Just this should be sufficient:

     typedef std::make_signed<T> difftype;

No need for extensions or C++0x features.



More information about the Gcc-help mailing list