|
Boost Users : |
From: François Duranleau (duranlef_at_[hidden])
Date: 2006-04-06 12:48:29
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_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net