gpu-enable more functions, but not stream inserters and extractors

This commit is contained in:
Eric Niebler
2014-01-23 21:30:18 -08:00
parent c4f9f0d1b6
commit e5b0f3c2e1
30 changed files with 88 additions and 60 deletions

View File

@@ -120,7 +120,6 @@ namespace boost { namespace fusion
}
template <typename First, typename Second>
BOOST_FUSION_GPU_ENABLED
inline std::ostream&
operator<<(std::ostream& os, pair<First, Second> const& p)
{
@@ -129,7 +128,6 @@ namespace boost { namespace fusion
}
template <typename First, typename Second>
BOOST_FUSION_GPU_ENABLED
inline std::istream&
operator>>(std::istream& is, pair<First, Second>& p)
{

View File

@@ -75,12 +75,12 @@ namespace boost { namespace fusion
};
}
BOOST_FUSION_GPU_ENABLED inline std::ostream& operator<<(std::ostream& out, detail::unused_only const&)
inline std::ostream& operator<<(std::ostream& out, detail::unused_only const&)
{
return out;
}
BOOST_FUSION_GPU_ENABLED inline std::istream& operator>>(std::istream& in, unused_type&)
inline std::istream& operator>>(std::istream& in, unused_type&)
{
return in;
}