[patch] No allocation for empty unordered containers

Marc Glisse marc.glisse@inria.fr
Tue Aug 12 19:39:00 GMT 2014


On Tue, 12 Aug 2014, François Dumont wrote:

>    Based on your feedbacks I think we should stay with just targeting good 
> QoI by not allocating on default construction. As I said the noexcept 
> qualification would need to not conform strictly to the Standard.

The standard explicitly says that you may add noexcept wherever you like. 
It is constexpr that we can only add in GNU mode.

-- 
Marc Glisse



More information about the Libstdc++ mailing list