std.cfg: Added support for std::min_element() and std::max_element().

This commit is contained in:
orbitcowboy 2019-06-06 14:55:37 +02:00
parent 9a163e59bf
commit 2b816d09fb
1 changed files with 21 additions and 0 deletions

View File

@ -6967,6 +6967,26 @@ initializer list (7) string& replace (const_iterator i1, const_iterator i2, init
<valid>0:</valid>
</arg>
</function>
<!-- default (1) template <class ForwardIterator> ForwardIterator std::min_element (ForwardIterator first, ForwardIterator last);
custom (2) template <class ForwardIterator, class Compare> ForwardIterator std::min_element (ForwardIterator first, ForwardIterator last, Compare comp); -->
<!-- default (1) template <class ForwardIterator> ForwardIterator std::max_element (ForwardIterator first, ForwardIterator last);
custom (2) template <class ForwardIterator, class Compare> ForwardIterator std::max_element (ForwardIterator first, ForwardIterator last, Compare comp); -->
<function name="std::min_element,std::max_element">
<use-retval/>
<returnValue type="iterator" container="1"/>
<noreturn>false</noreturn>
<arg nr="1" direction="in">
<not-uninit/>
<iterator container="1" type="first"/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
<iterator container="1" type="last"/>
</arg>
<arg nr="3" direction="in" default="">
<not-uninit/>
</arg>
</function>
<!-- InputIterator std::adjacent_find(InputIterator first, InputIterator last) -->
<function name="std::adjacent_find">
<use-retval/>
@ -7073,6 +7093,7 @@ initializer list (7) string& replace (const_iterator i1, const_iterator i2, init
<not-uninit/>
</arg>
</function>
<!-- @todo: iterator iterator erase (const_iterator position); -->
<!-- iterator std::vector::erase( iterator first, iterator last ); -->
<!-- iterator std::map::erase( iterator first, iterator last ); -->
<!-- iterator std::multimap::erase( iterator first, iterator last ); -->