std.cfg: Warn when parameters of std::swap() are not initialized.

This commit is contained in:
orbitcowboy 2017-10-11 15:54:49 +02:00
parent dc2aff42a8
commit 3eb84fa980
1 changed files with 6 additions and 1 deletions

View File

@ -5825,7 +5825,12 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<!-- template< class T > void swap( T& a, T& b );-->
<function name="std::swap">
<noreturn>false</noreturn>
<arg nr="2"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<!-- bool good() const; -->
<function name="std::ios::good,std::ios_base::good,std::ostream::good,std::ofstream::good">