Adobe Source Libraries 1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches

Functions

template<typename C>
bool exists (const C &c, const typename C::key_type &k)

Detailed Description

Function Documentation

◆ exists()

template<typename C>
bool exists ( const C & c,
const typename C::key_type & k )
Todo
(sparent) : If we developed the idea of an associative range then we could generalize this to sorted vectors. This would then consume std::binary_search().

Definition at line 33 of file exists.hpp.