Title
Illegal use of "T" in vector<bool>
Status
cd1
Section
[vector]
Submitter
richard@ex-parrot.com

Created on 2005-02-10.00:00:00 last changed 171 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Replace "T" with "value_type".

Date: 2005-02-10.00:00:00

In the synopsis of the std::vector<bool> specialisation in [vector], the non-template assign() function has the signature

  void assign( size_type n, const T& t );

The type, T, is not defined in this context.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg2846
2005-02-10 00:00:00admincreate