cgv
Loading...
Searching...
No Matches
cgv::utils::get_first< void, void > Struct Reference

Return const std::pair::first&. More...

#include <algorithm.h>

Public Member Functions

template<class T1 , class T2 >
constexpr auto operator() (const std::pair< T1, T2 > &pair) const -> decltype(static_cast< const T1 & >(pair.first))
 

Detailed Description

Return const std::pair::first&.

Definition at line 24 of file algorithm.h.

Member Function Documentation

◆ operator()()

template<class T1 , class T2 >
constexpr auto cgv::utils::get_first< void, void >::operator() ( const std::pair< T1, T2 > &  pair) const -> decltype(static_cast<const T1&>(pair.first))
inlineconstexpr

Definition at line 26 of file algorithm.h.


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