Index: boost/fusion/support/pair.hpp =================================================================== --- boost/fusion/support/pair.hpp (revision 73739) +++ boost/fusion/support/pair.hpp (working copy) @@ -8,6 +8,8 @@ #if !defined(FUSION_PAIR_07222005_1203) #define FUSION_PAIR_07222005_1203 +#include + #include #include #include @@ -74,17 +76,17 @@ return pair::type>(val); } - template - inline OStream& - operator<<(OStream& os, pair const& p) + template + inline std::ostream& + operator<<(std::ostream& os, pair const& p) { os << p.second; return os; } - template - inline IStream& - operator>>(IStream& is, pair& p) + template + inline std::istream& + operator>>(std::istream& is, pair& p) { is >> p.second; return is; Index: boost/fusion/support/unused.hpp =================================================================== --- boost/fusion/support/unused.hpp (revision 73739) +++ boost/fusion/support/unused.hpp (working copy) @@ -7,6 +7,8 @@ #if !defined(BOOST_FUSION_SUPPORT_UNUSED_20070305_1038) #define BOOST_FUSION_SUPPORT_UNUSED_20070305_1038 +#include + #include #if defined(BOOST_MSVC) # pragma warning(push) @@ -65,14 +67,12 @@ }; } - template - inline Out& operator<<(Out& out, detail::unused_only const&) + inline std::ostream& operator<<(std::ostream& out, detail::unused_only const&) { return out; } - template - inline In& operator>>(In& in, unused_type&) + inline std::istream& operator>>(std::istream& in, unused_type&) { return in; }