libstdc++ not conforming with --enable-concepts-check?

Paolo Carlini pcarlini@suse.de
Thu Sep 23 14:45:00 GMT 2004


Paolo Carlini wrote:

>       void
>-      resize(size_type __new_size, const value_type& __x)
>+      resize(size_type __new_size, const value_type& __x = value_type())
>  
>
By the way, I have just noticed that we have a bug in the signature of 
deque::resize!

The right one is (i.e., second argument by value):

	void
	resize(size_type __new_size, value_type __x = value_type())

!!!

Same happens for vector.

I'm fixing this too, more material for v7-branch ;) ...

Paolo.



More information about the Libstdc++ mailing list