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.