[SVN r73774]
This commit is contained in:
Joel de Guzman
2011-08-15 10:53:13 +00:00
parent afbda073a3
commit 2212f57287
2 changed files with 12 additions and 10 deletions

View File

@ -7,6 +7,8 @@
#if !defined(BOOST_FUSION_SUPPORT_UNUSED_20070305_1038)
#define BOOST_FUSION_SUPPORT_UNUSED_20070305_1038
#include <iosfwd>
#include <boost/config.hpp>
#if defined(BOOST_MSVC)
# pragma warning(push)
@ -65,14 +67,12 @@ namespace boost { namespace fusion
};
}
template <typename Out>
inline Out& operator<<(Out& out, detail::unused_only const&)
inline std::ostream& operator<<(std::ostream& out, detail::unused_only const&)
{
return out;
}
template <typename In>
inline In& operator>>(In& in, unused_type&)
inline std::istream& operator>>(std::istream& in, unused_type&)
{
return in;
}