Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2005-03-11 02:32:00

The class aligned_storage in boost/aligned_storage.hpp has
the following decl:

template <
      std::size_t size_
    , std::size_t alignment_ = std::size_t(-1)
class aligned_storage;

GCC 4.0 complains about the default value for aligmnent_ saying

'(size_t)((-1))' is not a valid template argument for type 'unsigned
because it is a non-constant expression

Is GCC right or shall I submit a bug report at

Thank you,

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

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