ORIGINAL
Loading...
Searching...
No Matches
original::none Class Reference

A placeholder type representing the absence of a value. More...

#include <types.h>

Collaboration diagram for original::none:
Collaboration graph

Public Member Functions

consteval none ()=default
 Default constructor (consteval)
 
constexpr ~none ()=default
 Default destructor (constexpr)
 
consteval operator bool () const
 Bool conversion operator.
 
consteval bool operator! () const
 Logical NOT operator.
 

Detailed Description

A placeholder type representing the absence of a value.

This class provides consteval operations and can be converted to bool, always returning false. Useful for template metaprogramming and representing empty states.

Member Function Documentation

◆ operator bool()

original::none::operator bool ( ) const
explicitconsteval

Bool conversion operator.

Returns
Always returns false

◆ operator!()

bool original::none::operator! ( ) const
consteval

Logical NOT operator.

Returns
Always returns true

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