Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Public Member Functions | Static Public Attributes | Friends
object::Void Class Reference

Represents void object. More...

#include <Void.h>

Collaboration diagram for object::Void:
[legend]

Public Member Functions

 Void ()
 Creates a new instance of void object. More...
 
std::strong_ordering operator<=> (const Void &) const
 
bool operator== (const Void &) const
 

Static Public Attributes

static Void VOID = Void()
 Singleton instance of the void object. More...
 

Friends

std::ostream & operator<< (std::ostream &out, const Void &)
 

Detailed Description

Represents void object.

Constructor & Destructor Documentation

◆ Void()

object::Void::Void ( )
explicitdefault

Creates a new instance of void object.

Member Function Documentation

◆ operator<=>()

std::strong_ordering object::Void::operator<=> ( const Void ) const
inline

The three way comparison implementation

Parameters
otherthe other instance
Returns
the actual relation between two by type same objects

◆ operator==()

bool object::Void::operator== ( const Void ) const
inline

The equality comparison implementation.

Parameters
otherthe other object to compare with.
Returns
true if this and other objects are equal, false othervise

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  out,
const Void  
)
friend

Print this object as raw representation to ostream.

Parameters
osostream where to print
instanceobject to print
Returns
modified output stream

Field Documentation

◆ VOID

Void object::Void::VOID = Void()
static

Singleton instance of the void object.


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