StormByte C++ Library 1.2.0
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
Loading...
Searching...
No Matches
StormByte::Type::NullablePointer Concept Reference

Smart pointer-like type that can test whether it contains an object. More...

#include <StormByte/type_traits/categories.hxx>

Concept definition

template<typename T>
From may be explicitly converted to To with static_cast.
Definition conversions.hxx:57
Smart pointer-like type that can test whether it contains an object.
Definition categories.hxx:125
Smart pointer-like type: dereferenceable and exposes get().
Definition categories.hxx:108

Detailed Description

Smart pointer-like type that can test whether it contains an object.

Template Parameters
TType to test (cv/ref ignored).

Requires dereference, member access, get(), and an implicit or explicit conversion to bool. Unlike SmartPointer, this is suitable for APIs that evaluate !pointer before dereferencing it.