std.cfg: Add support for std::vector::assign(). (#1713)

Reference:
https://en.cppreference.com/w/cpp/container/vector/assign
This commit is contained in:
Sebastian 2019-02-28 18:43:54 +01:00 committed by GitHub
parent 4f5a426fe5
commit 71b1b2dd76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -6113,6 +6113,19 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<returnValue type="bool"/>
<noreturn>false</noreturn>
</function>
<!-- void std::vector::assign( size_type count, const T& value ); -->
<!-- template< class InputIt > void std::vector::assign( InputIt first, InputIt last ); -->
<!-- void std::vector::assign( std::initializer_list<T> ilist ); // since C++11 -->
<function name="std::vector::assign">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2" default="0">
<not-uninit/>
</arg>
</function>
<!-- void clear(); // until C++11 -->
<!-- void clear() noexcept; // since C++11 -->
<function name="std::deque::clear,std::list::clear,std::forward_list::clear,std::map::clear,std::unordered_map::clear,std::queue::clear,std::set::clear,std::unordered_set::clear,std::stack::clear,std::string::clear,std::wstring::clear,std::basic_string::clear,std::vector::clear">