This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]