zero::null Class Reference

A zero class with a null output adapter. More...

Inheritance diagram for zero::null:
[legend]
Collaboration diagram for zero::null:
[legend]

Public Types

typedef null value_type
 
- Public Types inherited from zero
typedef zero value_type
 

Public Member Functions

constexpr null () noexcept
 Null constructible. More...
 
constexpr null (Istream &) noexcept
 Construct from Istream consumes no content. More...
 
- Public Member Functions inherited from zero
constexpr zero () noexcept
 Default construct. More...
 
constexpr zero (Istream &) noexcept
 Construct from Istream consumes no content. More...
 
constexpr operator bool () const noexcept
 Return false (0) for bool. More...
 
constexpr operator label () const noexcept
 Return 0 for label. More...
 
constexpr operator float () const noexcept
 Return 0 for float. More...
 
constexpr operator double () const noexcept
 Return 0 for double. More...
 

Static Public Attributes

static null dummy
 A static zero::null for dereferencing as a dummy element. More...
 

Detailed Description

A zero class with a null output adapter.

Definition at line 109 of file zero.H.

Member Typedef Documentation

◆ value_type

typedef null value_type

Definition at line 115 of file zero.H.

Constructor & Destructor Documentation

◆ null() [1/2]

constexpr null ( )
inlineconstexprnoexcept

Null constructible.

Definition at line 121 of file zero.H.

◆ null() [2/2]

constexpr null ( Istream )
inlineexplicitconstexprnoexcept

Construct from Istream consumes no content.

Definition at line 124 of file zero.H.

Member Data Documentation

◆ dummy

Foam::zero::null dummy
static

A static zero::null for dereferencing as a dummy element.

Definition at line 118 of file zero.H.

Referenced by HashTableSingle< K >::cval(), and HashTableSingle< K >::val().


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