LLVM 22.0.0git
llvm::SparseSetValFunctor< KeyT, ValueT, KeyFunctorT > Struct Template Reference

SparseSetValFunctor - Helper class for getting a value's index. More...

#include "llvm/ADT/SparseSet.h"

Inheritance diagram for llvm::SparseSetValFunctor< KeyT, ValueT, KeyFunctorT >:
[legend]

Public Member Functions

unsigned operator() (const ValueT &Val) const

Detailed Description

template<typename KeyT, typename ValueT, typename KeyFunctorT>
struct llvm::SparseSetValFunctor< KeyT, ValueT, KeyFunctorT >

SparseSetValFunctor - Helper class for getting a value's index.

In the generic case, this is done via SparseSetValTraits. When the value type is the same as the key type, the KeyFunctor is used directly.

Definition at line 67 of file SparseSet.h.

Member Function Documentation

◆ operator()()

template<typename KeyT, typename ValueT, typename KeyFunctorT>
unsigned llvm::SparseSetValFunctor< KeyT, ValueT, KeyFunctorT >::operator() ( const ValueT & Val) const
inline

Definition at line 68 of file SparseSet.h.

References llvm::SparseSetValTraits< ValueT >::getValIndex().


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