Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-12-06 15:02:15

At 04:00 AM 12/4/2003, nee Spangenberg wrote:
>Douglas Paul Gregor schrieb:
>> It's nearly identical to boost::array, IIRC:
>Tiny nitpick: I am wondering, why the current official proposal still
>misses any access to the size_t template parameter. I remember that older

>(non-official) proposals to such a thingee used something like
>template <class T, size_t N >
>struct array {
> static const size_t static_size = N;
> ...
>which would make generic programming much easier (think of integral
>constant expressions), and is also a valuable part of the boost snapshot,
>I am using.
>Anyway, TMHO a static member like array<>::static_size would also
>give some more symmetry to existing typedefs for the type template
>parameter and it would nearly cost nothing.
>Something related to that I also wonder why std::bitset does also do not
>provide a similar static member to its nontype size_t template parameter.
>(Maybe I should ask for it in comp.lang.c++.mod or comp.std.c++??)

comp.std.c++ would be a good start.


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