Boost logo

Boost Users :

From: Frank Hess (frank.hess_at_[hidden])
Date: 2005-01-28 09:55:15

Does anyone know what the preferred method of accessing the underlying C array
of a boost::array is? In boost 1.32 there is a data() member which returns a
const pointer, and a c_array() member which returns a pointer. Also, the
elems member itself is public. But at, the author states that data() can
be used for both const and non-const pointers, and indeed it is so in the
version he posts on his website (which doesn't provide the
c_array() member but overloads data() instead).


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at