LLVM  8.0.1
Public Member Functions | Friends | List of all members
llvm::detail::result_pair< R > Struct Template Reference

#include "llvm/ADT/STLExtras.h"

Public Member Functions

 result_pair ()=default
 
 result_pair (std::size_t Index, IterOfRange< R > Iter)
 
result_pair< R > & operator= (const result_pair< R > &Other)
 
std::size_t index () const
 
const ValueOfRange< R > & value () const
 
ValueOfRange< R > & value ()
 

Friends

class enumerator_iter< R >
 

Detailed Description

template<typename R>
struct llvm::detail::result_pair< R >

Definition at line 1420 of file STLExtras.h.

Constructor & Destructor Documentation

◆ result_pair() [1/2]

template<typename R>
llvm::detail::result_pair< R >::result_pair ( )
default

◆ result_pair() [2/2]

template<typename R>
llvm::detail::result_pair< R >::result_pair ( std::size_t  Index,
IterOfRange< R >  Iter 
)
inline

Definition at line 1424 of file STLExtras.h.

Member Function Documentation

◆ index()

template<typename R>
std::size_t llvm::detail::result_pair< R >::index ( ) const
inline

Definition at line 1433 of file STLExtras.h.

◆ operator=()

template<typename R>
result_pair<R>& llvm::detail::result_pair< R >::operator= ( const result_pair< R > &  Other)
inline

Definition at line 1427 of file STLExtras.h.

◆ value() [1/2]

template<typename R>
const ValueOfRange<R>& llvm::detail::result_pair< R >::value ( ) const
inline

Definition at line 1434 of file STLExtras.h.

◆ value() [2/2]

template<typename R>
ValueOfRange<R>& llvm::detail::result_pair< R >::value ( )
inline

Definition at line 1435 of file STLExtras.h.

References llvm::max().

Friends And Related Function Documentation

◆ enumerator_iter< R >

template<typename R>
friend class enumerator_iter< R >
friend

Definition at line 1421 of file STLExtras.h.


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