LibreOffice Module o3tl (master) 1
Public Types | Public Member Functions | List of all members
o3tl::select1st< P > Struct Template Reference

Select first value of a pair. More...

#include <functional.hxx>

Public Types

typedef P argument_type
 
typedef P::first_type result_type
 

Public Member Functions

const result_typeoperator() (const argument_type &cp) const
 

Detailed Description

template<typename P>
struct o3tl::select1st< P >

Select first value of a pair.

Definition at line 39 of file functional.hxx.

Member Typedef Documentation

◆ argument_type

template<typename P >
typedef P o3tl::select1st< P >::argument_type

Definition at line 41 of file functional.hxx.

◆ result_type

template<typename P >
typedef P::first_type o3tl::select1st< P >::result_type

Definition at line 42 of file functional.hxx.

Member Function Documentation

◆ operator()()

template<typename P >
const result_type & o3tl::select1st< P >::operator() ( const argument_type cp) const
inline

Definition at line 43 of file functional.hxx.


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