forked from boostorg/fusion
Remove redundant argument.
This commit is contained in:
@ -50,8 +50,6 @@ namespace boost { namespace fusion
|
|||||||
|
|
||||||
namespace vector_detail
|
namespace vector_detail
|
||||||
{
|
{
|
||||||
struct each_elem {};
|
|
||||||
|
|
||||||
template <
|
template <
|
||||||
typename This, typename T, typename T_, std::size_t Size, bool IsSeq
|
typename This, typename T, typename T_, std::size_t Size, bool IsSeq
|
||||||
>
|
>
|
||||||
@ -172,14 +170,14 @@ namespace boost { namespace fusion
|
|||||||
>
|
>
|
||||||
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||||
explicit
|
explicit
|
||||||
vector_data(each_elem, Sequence&& rhs)
|
vector_data(Sequence&& rhs)
|
||||||
: store<I, T>(forward_at_c<I>(std::forward<Sequence>(rhs)))...
|
: store<I, T>(forward_at_c<I>(std::forward<Sequence>(rhs)))...
|
||||||
{}
|
{}
|
||||||
|
|
||||||
template <typename ...U>
|
template <typename ...U>
|
||||||
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||||
explicit
|
explicit
|
||||||
vector_data(each_elem, U&&... var)
|
vector_data(U&&... var)
|
||||||
: store<I, T>(std::forward<U>(var))...
|
: store<I, T>(std::forward<U>(var))...
|
||||||
{}
|
{}
|
||||||
|
|
||||||
@ -264,7 +262,7 @@ namespace boost { namespace fusion
|
|||||||
// In the (near) future release, should be fixed.
|
// In the (near) future release, should be fixed.
|
||||||
/* BOOST_CONSTEXPR */ BOOST_FUSION_GPU_ENABLED
|
/* BOOST_CONSTEXPR */ BOOST_FUSION_GPU_ENABLED
|
||||||
explicit vector(U&&... u)
|
explicit vector(U&&... u)
|
||||||
: base(vector_detail::each_elem(), std::forward<U>(u)...)
|
: base(std::forward<U>(u)...)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
template <
|
template <
|
||||||
@ -277,7 +275,7 @@ namespace boost { namespace fusion
|
|||||||
>
|
>
|
||||||
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||||
vector(Sequence&& seq)
|
vector(Sequence&& seq)
|
||||||
: base(vector_detail::each_elem(), std::forward<Sequence>(seq))
|
: base(std::forward<Sequence>(seq))
|
||||||
{}
|
{}
|
||||||
|
|
||||||
template <typename Sequence>
|
template <typename Sequence>
|
||||||
|
@ -56,7 +56,7 @@ namespace boost { namespace fusion
|
|||||||
>
|
>
|
||||||
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||||
tuple(tuple<U...> const& other)
|
tuple(tuple<U...> const& other)
|
||||||
: base(vector_detail::each_elem(), other) {}
|
: base(other) {}
|
||||||
|
|
||||||
template <
|
template <
|
||||||
typename ...U
|
typename ...U
|
||||||
@ -66,7 +66,7 @@ namespace boost { namespace fusion
|
|||||||
>
|
>
|
||||||
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||||
tuple(tuple<U...>&& other)
|
tuple(tuple<U...>&& other)
|
||||||
: base(vector_detail::each_elem(), std::move(other)) {}
|
: base(std::move(other)) {}
|
||||||
|
|
||||||
template <
|
template <
|
||||||
typename ...U
|
typename ...U
|
||||||
@ -78,17 +78,17 @@ namespace boost { namespace fusion
|
|||||||
/*BOOST_CONSTEXPR*/ BOOST_FUSION_GPU_ENABLED
|
/*BOOST_CONSTEXPR*/ BOOST_FUSION_GPU_ENABLED
|
||||||
explicit
|
explicit
|
||||||
tuple(U&&... args)
|
tuple(U&&... args)
|
||||||
: base(vector_detail::each_elem(), std::forward<U>(args)...) {}
|
: base(std::forward<U>(args)...) {}
|
||||||
|
|
||||||
template<typename U1, typename U2>
|
template<typename U1, typename U2>
|
||||||
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||||
tuple(std::pair<U1, U2> const& other)
|
tuple(std::pair<U1, U2> const& other)
|
||||||
: base(vector_detail::each_elem(), other.first, other.second) {}
|
: base(other.first, other.second) {}
|
||||||
|
|
||||||
template<typename U1, typename U2>
|
template<typename U1, typename U2>
|
||||||
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||||
tuple(std::pair<U1, U2>&& other)
|
tuple(std::pair<U1, U2>&& other)
|
||||||
: base(vector_detail::each_elem(), std::move(other.first), std::move(other.second)) {}
|
: base(std::move(other.first), std::move(other.second)) {}
|
||||||
|
|
||||||
template<typename U>
|
template<typename U>
|
||||||
BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||||
|
Reference in New Issue
Block a user