This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]