LLVM 20.0.0git
Public Member Functions | List of all members
llvm::SparseSetValFunctor< KeyT, ValueT, KeyFunctorT > Struct Template Reference

SparseSetValFunctor - Helper class for selecting SparseSetValTraits. More...

#include "llvm/ADT/SparseSet.h"

Inheritance diagram for llvm::SparseSetValFunctor< KeyT, ValueT, KeyFunctorT >:
Inheritance graph
[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 selecting SparseSetValTraits.

The generic implementation handles ValueT classes which either provide getSparseSetIndex() or specialize SparseSetValTraits<>.

Definition at line 68 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 69 of file SparseSet.h.

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


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