From a3aedcf1364dd8991c25f250bff4b3fe1211eb68 Mon Sep 17 00:00:00 2001 From: bolero-MURAKAMI Date: Thu, 9 May 2013 16:59:07 +0900 Subject: [PATCH] erace old code (has been already commented out) --- sprout/tuple/tuple/tuple.hpp | 32 ------------------------------- sprout/tuple/tuple/tuple_decl.hpp | 28 --------------------------- 2 files changed, 60 deletions(-) diff --git a/sprout/tuple/tuple/tuple.hpp b/sprout/tuple/tuple/tuple.hpp index 0fb38c3e..af6ce914 100644 --- a/sprout/tuple/tuple/tuple.hpp +++ b/sprout/tuple/tuple/tuple.hpp @@ -13,22 +13,6 @@ namespace sprout { // tuple // // tuple construction -// template -// template< -// typename... UTypes, -// typename -// > -// inline SPROUT_CONSTEXPR sprout::tuples::tuple::tuple(sprout::pair const& t) -// : impl_type(t.first, t.second) -// {} -// template -// template< -// typename... UTypes, -// typename -// > -// inline SPROUT_CONSTEXPR sprout::tuples::tuple::tuple(sprout::pair&& t) -// : impl_type(sprout::forward::first_type>(t.first), sprout::forward::second_type>(t.second)) -// {} template template< typename UType1, typename UType2, @@ -46,22 +30,6 @@ namespace sprout { : impl_type(sprout::forward::first_type>(t.first), sprout::forward::second_type>(t.second)) {} -// template -// template< -// typename... UTypes, -// typename -// > -// inline SPROUT_CONSTEXPR sprout::tuples::tuple::tuple(sprout::tuples::flexibly_construct_t, sprout::pair const& t) -// : impl_type(t.first, t.second) -// {} -// template -// template< -// typename... UTypes, -// typename -// > -// inline SPROUT_CONSTEXPR sprout::tuples::tuple::tuple(sprout::tuples::flexibly_construct_t, sprout::pair&& t) -// : impl_type(sprout::forward::first_type>(t.first), sprout::forward::second_type>(t.second)) -// {} template template< typename UType1, typename UType2, diff --git a/sprout/tuple/tuple/tuple_decl.hpp b/sprout/tuple/tuple/tuple_decl.hpp index eaec8f73..f4ea904a 100644 --- a/sprout/tuple/tuple/tuple_decl.hpp +++ b/sprout/tuple/tuple/tuple_decl.hpp @@ -324,20 +324,6 @@ namespace sprout { SPROUT_CONSTEXPR tuple(sprout::tuples::tuple&& t) : impl_type(static_cast&&>(t)) {} -// template< -// typename... UTypes, -// typename = typename std::enable_if< -// sizeof...(Types) == 2 && sprout::tpp::all_of...>::value -// >::type -// > -// SPROUT_CONSTEXPR tuple(sprout::pair const& t); -// template< -// typename... UTypes, -// typename = typename std::enable_if< -// sizeof...(Types) == 2 && sprout::tpp::all_of...>::value -// >::type -// > -// SPROUT_CONSTEXPR tuple(sprout::pair&& t); template< typename UType1, typename UType2, typename = typename std::enable_if< @@ -380,20 +366,6 @@ namespace sprout { SPROUT_CONSTEXPR tuple(sprout::tuples::flexibly_construct_t, sprout::tuples::tuple&& t) : impl_type(static_cast&&>(t)) {} -// template< -// typename... UTypes, -// typename = typename std::enable_if< -// is_clvref_flexibly_convert_constructible::value -// >::type -// > -// SPROUT_CONSTEXPR tuple(sprout::tuples::flexibly_construct_t, sprout::pair const& t); -// template< -// typename... UTypes, -// typename = typename std::enable_if< -// is_rvref_flexibly_convert_constructible::value -// >::type -// > -// SPROUT_CONSTEXPR tuple(sprout::tuples::flexibly_construct_t, sprout::pair&& t); template< typename UType1, typename UType2, typename = typename std::enable_if<