Public Member Functions | Friends
ecl::Void Class Reference

A void (null) object. More...

#include <void.hpp>

List of all members.

Public Member Functions

virtual ~Void ()


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

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

virtual ecl::Void::~Void ( ) [inline, virtual]

Definition at line 62 of file void.hpp.

Friends And Related Function Documentation

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.

ostream: the output stream.
void_object: the void object to ignore.
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:

Author(s): Daniel Stonier (
autogenerated on Thu Jan 2 2014 11:12:21