Adobe Source Libraries 1.49.0
A collection of C++ libraries.
|
Functions | |
template<typename T, typename P, typename BinaryPredicate> | |
const T & | other_of (const P &pair, const T &x, BinaryPredicate pred) |
other_of implementation | |
template<typename T, typename P> | |
const T & | other_of (const P &pair, const T &x) |
other_of implementation |
Given a pair and an EqualityComparable item, this will return the item that is not equal to the item passed. In the case when neither item is equal to the item passed the results are undefined.
const T & other_of | ( | const P & | pair, |
const T & | x, | ||
BinaryPredicate | pred ) |
Definition at line 37 of file other_of.hpp.
const T & other_of | ( | const P & | pair, |
const T & | x ) |
Definition at line 49 of file other_of.hpp.