std.cfg: Added partial support for std::sort().

This commit is contained in:
orbitcowboy 2019-02-15 20:45:46 +01:00
parent cf1ad5087a
commit 23b771c5c8
1 changed files with 14 additions and 0 deletions

View File

@ -6658,6 +6658,20 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<iterator container="2" type="first"/>
</arg>
</function>
<!-- template <class RandomAccessIterator> void std::sort (RandomAccessIterator first, RandomAccessIterator last); -->
<!-- @todo: template <class RandomAccessIterator, class Compare> void std::sort (RandomAccessIterator first, RandomAccessIterator last, Compare comp); -->
<function name="std::sort">
<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>
</function>
<!-- bool std::all_of(InputIterator first, InputIterator last, UnaryPredicate pred) -->
<!-- bool std::any_of(InputIterator first, InputIterator last, UnaryPredicate pred) -->
<!-- bool std::none_of(InputIterator first, InputIterator last, UnaryPredicate pred) -->