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

#include "llvm/ADT/STLExtras.h"

Public Types

using value_reference = typename std::iterator_traits< IterOfRange< R > >::reference

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 value_reference value () const
value_reference value ()


class enumerator_iter< R >

Detailed Description

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

Definition at line 1400 of file STLExtras.h.

Member Typedef Documentation

◆ value_reference

template<typename R>
using llvm::detail::result_pair< R >::value_reference = typename std::iterator_traits<IterOfRange<R> >::reference

Definition at line 1402 of file STLExtras.h.

Constructor & Destructor Documentation

◆ result_pair() [1/2]

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

◆ result_pair() [2/2]

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

Definition at line 1407 of file STLExtras.h.

Member Function Documentation

◆ index()

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

Definition at line 1416 of file STLExtras.h.

◆ operator=()

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

Definition at line 1410 of file STLExtras.h.

◆ value() [1/2]

template<typename R>
const value_reference llvm::detail::result_pair< R >::value ( ) const

Definition at line 1417 of file STLExtras.h.

◆ value() [2/2]

template<typename R>
value_reference llvm::detail::result_pair< R >::value ( )

Definition at line 1418 of file STLExtras.h.

References llvm::max().

Friends And Related Function Documentation

◆ enumerator_iter< R >

template<typename R>
friend class enumerator_iter< R >

Definition at line 1404 of file STLExtras.h.

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