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

Return const std::pair::second&. 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 T2 & >(pair.second))
 

Detailed Description

Return const std::pair::second&.

Definition at line 42 of file algorithm.h.

Member Function Documentation

◆ operator()()

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

Definition at line 44 of file algorithm.h.


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