Public Member Functions | Friends | List of all members
ecl::Void Class Reference

A void (null) object. More...

#include <void.hpp>

Public Member Functions

virtual ~Void ()
 

Friends

template<typename OutputStream >
OutputStream & operator<< (OutputStream &ostream, const Void void_object)
 Output stream operator for Void objects. More...
 

Detailed Description

A void (null) object.

A void (null) object that is occasionally useful for template instantiations. When you want to instantiate a template class without a type, just set its default type to this void object and create a specialisation of that template class.

Definition at line 57 of file void.hpp.

Constructor & Destructor Documentation

◆ ~Void()

virtual ecl::Void::~Void ( )
inlinevirtual

Definition at line 62 of file void.hpp.

Friends And Related Function Documentation

◆ operator<<

template<typename OutputStream >
OutputStream& operator<< ( OutputStream &  ostream,
const Void  void_object 
)
friend

Output stream operator for Void objects.

This function not serve any purpose except to allow the stream to move on to the next output object.

Parameters
ostream: the output stream.
void_object: the void object to ignore.
Returns
OutputStream : return the output stream as is.

Definition at line 76 of file void.hpp.


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


ecl_utilities
Author(s): Daniel Stonier
autogenerated on Mon Feb 28 2022 22:18:41