|
HDK
|
#include <stl.h>
Public Member Functions | |
| template<class PairOrTuple > | |
| decltype(auto) constexpr | operator() (PairOrTuple &&p) const |
Function object for retrieving the N'th element of a std::pair or std::tuple. This is similar to std::get<N>, but wrapped up in a function object suitable for use with STL algorithms.
Example:
|
inline |