Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-08-15 11:32:02

"Aaron W. LaFramboise" <aaronrabiddog51_at_[hidden]> writes:

> This is a followup from prior threads:
> type_traits/is_convertable.hpp:
> long long support with GCC:
> The following patch is another attempt to get long long support working,
> in a manner acceptable with Boost, even when -std=c++98 and -pedantic
> are specified. In particular, GCC supports long long in all modes, but
> __extension__ is required to quiet errors and warnings.
> It is possible that other C++ compilers with a similar situation
> regarding long long might be able to use this patch constructively.
> In short, typedefs are added for long long and unsigned long long in
> cstdint.hpp, and all uses of these typenames in the headers are changed
> to use these new names.

On naming, I think long_long and unsigned_long_long might be better,
but I don't have a strong position here.

The patch is essentially OK with me, but it touches a number of other
peoples' libraries so we maybe should hear from others, and it will
require some labor to commit. Should we give Aaron CVS access for

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at