std.cfg: Added support for std::shuffle() and std::random_shuffle().

This commit is contained in:
orbitcowboy 2019-03-01 15:05:10 +01:00
parent 845c407ab7
commit 16e3a0ada6
1 changed files with 19 additions and 0 deletions

View File

@ -6805,6 +6805,25 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<iterator container="1" type="last"/>
</arg>
</function>
<!-- template< class RandomIt > void std::random_shuffle( RandomIt first, RandomIt last ); (deprecated in C++14) (removed in C++17) -->
<!-- template< class RandomIt, class RandomFunc > void std::random_shuffle( RandomIt first, RandomIt last, RandomFunc& r ); (until C++11) -->
<!-- template< class RandomIt, class RandomFunc > void std::random_shuffle( RandomIt first, RandomIt last, RandomFunc&& r ); (since C++11) (deprecated in C++14) (removed in C++17) -->
<!-- template< class RandomIt, class URBG > void std::shuffle( RandomIt first, RandomIt last, URBG&& g ); (since C++11) -->
<function name="std::random_shuffle,std::shuffle">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
<iterator container="1" type="first"/>
</arg>
<arg nr="2">
<not-uninit/>
<iterator container="1" type="last"/>
</arg>
<arg nr="3" default="0">
<not-uninit/>
</arg>
</function>
<!-- template< class ForwardIt, class T > void std::fill( ForwardIt first, ForwardIt last, const T& value ); -->
<function name="std::fill">
<noreturn>false</noreturn>