LLVM  8.0.0svn
Public Member Functions | List of all members
llvm::detail::DenseMapPair< KeyT, ValueT > Struct Template Reference

#include "llvm/ADT/DenseMap.h"

Inherits pair< KeyT, ValueT >.

Collaboration diagram for llvm::detail::DenseMapPair< KeyT, ValueT >:
Collaboration graph
[legend]

Public Member Functions

 DenseMapPair ()
 
 DenseMapPair (const KeyT &Key, const ValueT &Value)
 
 DenseMapPair (KeyT &&Key, ValueT &&Value)
 
template<typename AltKeyT , typename AltValueT >
 DenseMapPair (AltKeyT &&AltKey, AltValueT &&AltValue, typename std::enable_if< std::is_convertible< AltKeyT, KeyT >::value &&std::is_convertible< AltValueT, ValueT >::value >::type *=0)
 
template<typename AltPairT >
 DenseMapPair (AltPairT &&AltPair, typename std::enable_if< std::is_convertible< AltPairT, std::pair< KeyT, ValueT >>::value >::type *=0)
 
KeyT & getFirst ()
 
const KeyT & getFirst () const
 
ValueTgetSecond ()
 
const ValueTgetSecond () const
 

Detailed Description

template<typename KeyT, typename ValueT>
struct llvm::detail::DenseMapPair< KeyT, ValueT >

Definition at line 41 of file DenseMap.h.

Constructor & Destructor Documentation

◆ DenseMapPair() [1/5]

template<typename KeyT, typename ValueT>
llvm::detail::DenseMapPair< KeyT, ValueT >::DenseMapPair ( )
inline

Definition at line 48 of file DenseMap.h.

◆ DenseMapPair() [2/5]

template<typename KeyT, typename ValueT>
llvm::detail::DenseMapPair< KeyT, ValueT >::DenseMapPair ( const KeyT &  Key,
const ValueT Value 
)
inline

Definition at line 50 of file DenseMap.h.

◆ DenseMapPair() [3/5]

template<typename KeyT, typename ValueT>
llvm::detail::DenseMapPair< KeyT, ValueT >::DenseMapPair ( KeyT &&  Key,
ValueT &&  Value 
)
inline

Definition at line 53 of file DenseMap.h.

◆ DenseMapPair() [4/5]

template<typename KeyT, typename ValueT>
template<typename AltKeyT , typename AltValueT >
llvm::detail::DenseMapPair< KeyT, ValueT >::DenseMapPair ( AltKeyT &&  AltKey,
AltValueT &&  AltValue,
typename std::enable_if< std::is_convertible< AltKeyT, KeyT >::value &&std::is_convertible< AltValueT, ValueT >::value >::type = 0 
)
inline

Definition at line 57 of file DenseMap.h.

◆ DenseMapPair() [5/5]

template<typename KeyT, typename ValueT>
template<typename AltPairT >
llvm::detail::DenseMapPair< KeyT, ValueT >::DenseMapPair ( AltPairT &&  AltPair,
typename std::enable_if< std::is_convertible< AltPairT, std::pair< KeyT, ValueT >>::value >::type = 0 
)
inline

Definition at line 65 of file DenseMap.h.

Member Function Documentation

◆ getFirst() [1/2]

template<typename KeyT, typename ValueT>
KeyT& llvm::detail::DenseMapPair< KeyT, ValueT >::getFirst ( )
inline

◆ getFirst() [2/2]

template<typename KeyT, typename ValueT>
const KeyT& llvm::detail::DenseMapPair< KeyT, ValueT >::getFirst ( ) const
inline

Definition at line 71 of file DenseMap.h.

◆ getSecond() [1/2]

template<typename KeyT, typename ValueT>
ValueT& llvm::detail::DenseMapPair< KeyT, ValueT >::getSecond ( )
inline

Definition at line 72 of file DenseMap.h.

◆ getSecond() [2/2]

template<typename KeyT, typename ValueT>
const ValueT& llvm::detail::DenseMapPair< KeyT, ValueT >::getSecond ( ) const
inline

Definition at line 73 of file DenseMap.h.


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