libhatchet
Loading...
Searching...
No Matches
hxnullptr_t Class Reference

#include <hxutility.h>

Public Member Functions

template<typename T>
constexpr operator T* () const
template<typename T, typename M_>
constexpr operator M_ T::* () const

Detailed Description

hxnullptr_t - A class that will only convert to a null T pointer.

Useful when an integer constant arg would be ambiguous or otherwise break template code. hxnullptr is a hxnullptr_t. Use plain hxnull for comparisons.

Member Function Documentation

◆ operator M_ T::*()

template<typename T, typename M_>
hxnullptr_t::operator M_ T::* ( ) const
inlineconstexpr

Null T method pointer.

◆ operator T*()

template<typename T>
hxnullptr_t::operator T* ( ) const
inlineconstexpr

Null T pointer.


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