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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28 January 2010 17:16, Patrick Horgan <phorgan1@xxxxxxxxx> 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.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux