
6 Apr
2006
6 Apr
'06
4:48 p.m.
On Wed, 5 Apr 2006, Karim Bakir wrote:
Hi
I want to know if it exists in boost multi array a method to empty it.
What do you mean by 'to empty it'? To make it a multi_array with all extents to zero? The only way I can think of is the following: array_instance.resize( boost::extents[ 0 ][ 0 ][ 0 ] ) ; // e.g. for 3D -- François Duranleau LIGUM, Université de Montréal "You only think you understand. But people cannot perfectly understand each other. The self is an ambiguous thing." - Kaji, in _Neon Genesis Evangelion_ _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users