Boost logo

Boost :

From: Ken Hagan (k.hagan_at_[hidden])
Date: 2002-01-04 05:01:54

> >> I've heard that some compilers that support "long long" and "unsigned
> >> long" don't support them as types for value-based template parameters.
> >
> > gcc does so.
> GCC does or does not have support? Either way, GCC's answer doesn't
> on what other compilers may support.

True, but it is a data point. MSVC supports them too.

"long long" is an extension for C++ so it is reasonable to survey existing
compilers to see what they do. If all compilers support them as template
parameters, then we might reason that when "long long" is added to C++ it
will be legal in this context. No compiler vendor is likely to object.

If some don't, the vendors may still be happy with the idea, and offer to
add such support in future releases. (Can it be that hard to implement?)

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