cgv
Loading...
Searching...
No Matches
cgv::utils::get_first< T1, T2 > Struct Template Reference

Return std::pair::first. More...

#include <algorithm.h>

Public Member Functions

constexpr T1 operator() (const std::pair< T1, T2 > &pair) const
 

Detailed Description

template<class T1 = void, class T2 = void>
struct cgv::utils::get_first< T1, T2 >

Return std::pair::first.

Definition at line 16 of file algorithm.h.

Member Function Documentation

◆ operator()()

template<class T1 = void, class T2 = void>
constexpr T1 cgv::utils::get_first< T1, T2 >::operator() ( const std::pair< T1, T2 > &  pair) const
inlineconstexpr

Definition at line 17 of file algorithm.h.


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