Boost logo

Boost :

From: Gabriel Dos Reis (Gabriel.Dos-Reis_at_[hidden])
Date: 2000-01-02 14:36:47


"Dave Abrahams" <abrahams_at_[hidden]> writes:

[...]

| > 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
| > possible:
| > carray<int,6> a = { 1, 2, 3, 4, 5, 6 }
|
| can you still do that initialization with
| carray<non_POD_type, 6> a = { non_POD_type(), non_POD_type() }?

Yes, you can.

-- Gaby


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk