Index: last_value.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/last_value.hpp,v retrieving revision 1.5 diff -u -r1.5 last_value.hpp --- last_value.hpp 25 Jul 2004 02:29:28 -0000 1.5 +++ last_value.hpp 8 Jun 2007 15:42:26 -0000 @@ -11,6 +11,7 @@ #define BOOST_LAST_VALUE_HPP #include +#include namespace boost { template @@ -30,10 +31,15 @@ template<> struct last_value { +#ifdef BOOST_NO_VOID_RETURNS struct unusable {}; public: typedef unusable result_type; +#else + public: + typedef void result_type; +#endif // BOOST_NO_VOID_RETURNS template result_type