Skip to content

Commit fc7494c

Browse files
versatdanmar
authored andcommitted
std.cfg: Add support for std::map::count() (#1655)
Reference: https://en.cppreference.com/w/cpp/container/map/count
1 parent 502d5e9 commit fc7494c

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

cfg/std.cfg

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6165,6 +6165,17 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
61656165
<returnValue type="std::size_t"/>
61666166
<noreturn>false</noreturn>
61676167
</function>
6168+
<!-- size_type std::map::count( const Key& key ) const; -->
6169+
<!-- template< class K > size_type std::map::count( const K& x ) const; // since C++14 -->
6170+
<function name="std::map::count">
6171+
<noreturn>false</noreturn>
6172+
<returnValue type="size_t"/>
6173+
<use-retval/>
6174+
<const/>
6175+
<arg nr="1">
6176+
<not-uninit/>
6177+
</arg>
6178+
</function>
61686179
<function name="std::list::back,std::list::front,std::forward_list::front,std::queue::back,std::queue::front,std::vector::back,std::vector::front,std::array::front,std::array::back">
61696180
<use-retval/>
61706181
<noreturn>false</noreturn>

0 commit comments

Comments
 (0)