All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
nil Class Reference

A zero-sized class without any storage. Used, for example, in HashSet. More...

Public Member Functions

 nil ()
 Construct null. More...
 
 nil (Istream &)
 Construct from Istream. More...
 

Friends

Istreamoperator>> (Istream &is, nil &)
 
Ostreamoperator<< (Ostream &os, const nil &)
 

Detailed Description

A zero-sized class without any storage. Used, for example, in HashSet.

Note
A zero-sized class actually does still require at least 1 byte storage.

Definition at line 58 of file nil.H.

Constructor & Destructor Documentation

◆ nil() [1/2]

nil ( )
inline

Construct null.

Definition at line 66 of file nil.H.

◆ nil() [2/2]

nil ( Istream )
inline

Construct from Istream.

Definition at line 70 of file nil.H.

Friends And Related Function Documentation

◆ operator>>

Istream& operator>> ( Istream is,
nil  
)
friend

Definition at line 76 of file nil.H.

◆ operator<<

Ostream& operator<< ( Ostream os,
const nil  
)
friend

Definition at line 81 of file nil.H.


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