mn::basic_void_type Class Reference

A dummy class with value-type semantics, mostly useful as a template argument. More...

#include <mn_void.hpp>

Public Member Functions

 basic_void_type ()
 Construct the void type. More...
 
 basic_void_type (const basic_void_type &other) noexcept
 Creates the Void from another Void. More...
 
 ~basic_void_type ()
 Deconstrut the void type. More...
 
basic_void_typeoperator= (const basic_void_type &v) noexcept
 Assigns another void. More...
 
bool operator== (const basic_void_type &v) const noexcept
 Will return always true due to Voids having no members. More...
 
bool operator!= (const basic_void_type &v) const noexcept
 Will return always false due to Voids having no members. More...
 

Detailed Description

A dummy class with value-type semantics, mostly useful as a template argument.

Constructor & Destructor Documentation

◆ basic_void_type() [1/2]

mn::basic_void_type::basic_void_type ( )

Construct the void type.

◆ basic_void_type() [2/2]

mn::basic_void_type::basic_void_type ( const basic_void_type other)
noexcept

Creates the Void from another Void.

Note
Do nothing.

◆ ~basic_void_type()

mn::basic_void_type::~basic_void_type ( )

Deconstrut the void type.

Member Function Documentation

◆ operator!=()

bool mn::basic_void_type::operator!= ( const basic_void_type v) const
noexcept

Will return always false due to Voids having no members.

◆ operator=()

basic_void_type & mn::basic_void_type::operator= ( const basic_void_type v)
noexcept

Assigns another void.

◆ operator==()

bool mn::basic_void_type::operator== ( const basic_void_type v) const
noexcept

Will return always true due to Voids having no members.


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