v8 14.1.146 (node 25.0.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 SentinelPointer::kSentinelValue.

Friends And Related Symbol Documentation

◆ operator!=

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

◆ operator==

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

Field Documentation

◆ kSentinelValue

constexpr intptr_t kSentinelValue = 0b10
staticconstexpr

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

Referenced by SentinelPointer::operator T*().


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