Type similar to an empty struct in the standard library
You can use empty tuple. Like std::tuple<>();
The usual solution is to use void
, but this requires partial specialization of the template (which is also usual, since otherwise, it requires more space).
How about boost::none
and boost::none_t
?
http://www.boost.org/doc/libs/1_54_0/boost/none.hpp