v8 13.6.233 (node 24.1.0)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
SentinelPointer Struct Reference

#include <sentinel-pointer.h>

Public Member Functions

template<typename T>
 operator T* () const
 

Static Public Attributes

static constexpr intptr_t kSentinelValue = 0b10
 

Friends

bool operator== (SentinelPointer, SentinelPointer)
 
bool operator!= (SentinelPointer, SentinelPointer)
 

Detailed Description

Definition at line 17 of file sentinel-pointer.h.

Member Function Documentation

◆ operator T*()

template<typename T>
operator T* ( ) const
inline

Definition at line 25 of file sentinel-pointer.h.

References kSentinelValue.

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( SentinelPointer ,
SentinelPointer  )
friend

Definition at line 30 of file sentinel-pointer.h.

◆ operator==

bool operator== ( SentinelPointer ,
SentinelPointer  )
friend

Definition at line 29 of file sentinel-pointer.h.

Field Documentation

◆ kSentinelValue

intptr_t kSentinelValue = 0b10
staticconstexpr

Definition at line 22 of file sentinel-pointer.h.

Referenced by operator T*().


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