final gpu-enabling tweaks

This commit is contained in:
Eric Niebler committed 2014-01-28 14:32:03 -08:00
1 parent c04e912866
commit e113b31fdd
13 files changed
+18 -35

No files matched your search

+1
View File
@@ -77,6 +77,7 @@ namespace boost { namespace fusion
}
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
BOOST_FUSION_GPU_ENABLED
pair& operator=(pair&& rhs)
{
second = std::forward<Second>(rhs.second);
@@ -22,18 +22,21 @@ namespace boost { namespace fusion
template <typename Sequence>
struct sequence_base
{
BOOST_FUSION_GPU_ENABLED
Sequence const&
derived() const
{
return static_cast<Sequence const&>(*this);
}
BOOST_FUSION_GPU_ENABLED
Sequence&
derived()
{
return static_cast<Sequence&>(*this);
}
BOOST_FUSION_GPU_ENABLED
operator detail::from_sequence_convertible_type()const
{
return detail::from_sequence_convertible_type();