std.cfg: Added support for min() and max() functions.

This commit is contained in:
orbitcowboy 2015-05-07 08:45:38 +02:00
parent 1c5e9e47c5
commit f430748e0c
1 changed files with 26 additions and 0 deletions

View File

@ -1695,6 +1695,32 @@
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!-- template <class T> const T& max (const T& a, const T& b); -->
<function name="max">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<!-- template <class T> const T& min (const T& a, const T& b); -->
<function name="min">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<!-- double fmax(double x, double y); --> <!-- double fmax(double x, double y); -->
<function name="fmax"> <function name="fmax">
<use-retval/> <use-retval/>