TerraForge3D
2.3.1
3D Terrain And Landscape Generator
◆
count()
template<class Key , class T , class IgnoredLess = std::less<Key>, class Allocator = std::allocator<std::pair<const Key, T>>>
size_type
nlohmann::ordered_map
< Key, T, IgnoredLess, Allocator >::count
(
const Key &
key
)
const
inline
Definition at line
17687
of file
json.hpp
.
17688
{
17689
for
(
auto
it = this->begin(); it != this->end(); ++it)
17690
{
17691
if
(it->first == key)
17692
{
17693
return
1;
17694
}
17695
}
17696
17697
return
0;
17698
}
nlohmann
ordered_map
Generated on Thu Apr 7 2022 14:10:56 for TerraForge3D by
1.9.3