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... | |
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.
|
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. |