stlab.adobe.com Adobe Systems Incorporated

Functions

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

Function Documentation

bool adobe::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 34 of file exists.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google