Boost logo

Boost :

Subject: Re: [boost] [type_traits] has_equal_to< std::vector<T> > alwaystrue_
From: Howard Hinnant (howard.hinnant_at_[hidden])
Date: 2011-10-22 16:32:19


On Oct 22, 2011, at 1:53 PM, Ion Gaztañaga wrote:

> I don't know if is_default_constructible<std::vector<T>> should be false because T might not be MoveConstructible.

std::vector<T> is always default constructible because this constructor places no requirements on T.

Howard


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