Boost logo

Boost :

From: Nicolai Josuttis (nicolai.josuttis_at_[hidden])
Date: 2000-01-02 09:28:03

As I got no feedback so far:
Did anybody look at it and is anybody interested?

However, I got some indirect feedback due to feeback to
my book.
 It seems, that also Matt mentioned such a class in his book.
 This class is called "block".
 He implementes the class as POD (making the internal array public),
 so that the following is
  carray<int,6> a = { 1, 2, 3, 4, 5, 6 }

This seems to be an important improvement.
In addition, he introduces op==, op<, swap(), and reverse iterators.

So, I will present a new version
(in case, anybody is interested).

However, one question remains:
- Which name should we take?
    c_array, carray, block?
   Is one of these name used in a library alreay?

Nicolai Josuttis wrote:
> Hi,
> attached is a new proposal for boost:
> A STL container (as wrapper) for arrays with static size.
> This code is based on a example in Stroustrups C++ PL (c_array)
> which I changed slightly in my book (carray).
> Note that this is different from Dietmars array class.
> He provides a new common interface for static arrays and
> STL containers. Bjarne and I simply implement an STL container
> of static size.
> Any constructive feedback is welcome.
> Best (hope the best for Y2K)
> --
> Nicolai M. Josuttis
> Solutions in Time mailto:solutions_at_[hidden]
> ------------------------------------------------------------------------
> Tired of the same old games?
> Play the most popular gameshows online by the co-creator of Jeopardy
> At now and enter to win $1000 cash
> -- Create a poll/survey for your group!
> --
> --------------------------------------------------------------------------------
> Name: carray_all.tgz
> carray_all.tgz Type: Unix Tape Archive (application/x-tar)
> Encoding: base64

Nicolai M. Josuttis 
Solutions in Time        	mailto:solutions_at_[hidden]

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