Proton
1.1.1
Make porting easy from Python to C++11
|
common container operations More...
Functions | |
template<typename T > | |
const detail::min_t< T >::item_t & | proton::min (const T &v) |
smallest item. | |
template<typename T > | |
const detail::max_t< T >::item_t & | proton::max (const T &v) |
largest item. | |
template<typename T , typename V > | |
bool | proton::has (const T &x, V &&v) |
check if x has val. | |
template<typename T > | |
size_t | proton::len (const T &v) |
get length. |
common container operations
bool proton::has | ( | const T & | x, |
V && | v | ||
) |
check if x has val.
x | the container |
v | the value |
Definition at line 231 of file base.hpp.
Referenced by proton::operator&=().