highres-cortex 6.0.4
yl::select1st< TPair > Class Template Reference

Return the first element of a std::pair, like non-standard std::select1st. More...

#include <highres-cortex/label_volume.hh>

Inheritance diagram for yl::select1st< TPair >:
Collaboration diagram for yl::select1st< TPair >:

Public Member Functions

TPair::first_type & operator() (TPair &pair) const
 
const TPair::first_type & operator() (const TPair &pair) const
 

Detailed Description

template<typename TPair>
class yl::select1st< TPair >

Return the first element of a std::pair, like non-standard std::select1st.

Definition at line 53 of file label_volume.hh.

Member Function Documentation

◆ operator()() [1/2]

template<typename TPair>
const TPair::first_type & yl::select1st< TPair >::operator() ( const TPair & pair) const
inline

Definition at line 63 of file label_volume.hh.

◆ operator()() [2/2]

template<typename TPair>
TPair::first_type & yl::select1st< TPair >::operator() ( TPair & pair) const
inline

Definition at line 57 of file label_volume.hh.


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