Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2005-08-18 00:28:59

On Wednesday 17 August 2005 23:41, Neal Becker wrote:
> Here is a revised patch. I think I prefer this method to control
> initialization (pass an argument to vector constructor)

the line
        data_ (size, std::allocator<T>(), doinit) {
of the vector contructor look dangerous. It should read
        data_ (size, typename array_type::allocator_type(), doinit) {

Do you know how this boolean argument influences the optimizations done by
different compilers?