Console Library 8.0.0
A header-only library that makes C++ simple
Loading...
Searching...
No Matches
console::ops::first_t Struct Reference

取 pair 的 first 变换器。 More...

#include <gen.h>

Public Member Functions

template<class Pair>
Pair::first_type operator() (const Pair &p) const
 获取 pair 的第一个元素。

Detailed Description

取 pair 的 first 变换器。

Member Function Documentation

◆ operator()()

template<class Pair>
Pair::first_type console::ops::first_t::operator() ( const Pair & p) const
inline

获取 pair 的第一个元素。

Parameters
ppair 对象。
Returns
p.first。

The documentation for this struct was generated from the following file: