This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.
496. Illegal use of "T" in vector<bool>Section: 23.3.13 [vector] Status: CD1 Submitter: richard@ex-parrot.com Opened: 2005-02-10 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [vector].
View all issues with CD1 status.
Discussion:
In the synopsis of the std::vector<bool> specialisation in 23.3.13 [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.
Proposed resolution:
Replace "T" with "value_type".
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4