V8 Project
v8::internal::ElementCmp< T > Class Template Reference

#include <list-inl.h>

+ Collaboration diagram for v8::internal::ElementCmp< T >:

Public Member Functions

 ElementCmp (T e)
 
int operator() (const T *other)
 

Private Attributes

T elem_
 

Detailed Description

template<typename T>
class v8::internal::ElementCmp< T >

Definition at line 242 of file list-inl.h.

Constructor & Destructor Documentation

◆ ElementCmp()

template<typename T >
v8::internal::ElementCmp< T >::ElementCmp ( T  e)
inlineexplicit

Definition at line 244 of file list-inl.h.

244 : elem_(e) {}

Member Function Documentation

◆ operator()()

template<typename T >
int v8::internal::ElementCmp< T >::operator() ( const T other)
inline

Definition at line 245 of file list-inl.h.

245  {
246  return PointerValueCompare(other, &elem_);
247  }
int PointerValueCompare(const T *a, const T *b)
Definition: utils.h:107

References v8::internal::ElementCmp< T >::elem_, and v8::internal::PointerValueCompare().

+ Here is the call graph for this function:

Member Data Documentation

◆ elem_

template<typename T >
T v8::internal::ElementCmp< T >::elem_
private

Definition at line 249 of file list-inl.h.

Referenced by v8::internal::ElementCmp< T >::operator()().


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