diff --git a/include/boost/tuple/detail/tuple_basic.hpp b/include/boost/tuple/detail/tuple_basic.hpp index 10d7781..d81554c 100644 --- a/include/boost/tuple/detail/tuple_basic.hpp +++ b/include/boost/tuple/detail/tuple_basic.hpp @@ -548,54 +548,54 @@ struct make_tuple_mapper { } // end detail // -make_tuple function templates ----------------------------------- -tuple<> inline make_tuple() { +inline tuple<> make_tuple() { return tuple<>(); } template -typename boost::detail::tuples::make_tuple_mapper::type -inline make_tuple(const T0& t0) { +inline typename boost::detail::tuples::make_tuple_mapper::type +make_tuple(const T0& t0) { return typename boost::detail::tuples::make_tuple_mapper::type(t0); } template -typename boost::detail::tuples::make_tuple_mapper::type -inline make_tuple(const T0& t0, const T1& t1) { +inline typename boost::detail::tuples::make_tuple_mapper::type +make_tuple(const T0& t0, const T1& t1) { return typename boost::detail::tuples::make_tuple_mapper::type(t0, t1); } template -typename boost::detail::tuples::make_tuple_mapper::type -inline make_tuple(const T0& t0, const T1& t1, const T2& t2) { +inline typename boost::detail::tuples::make_tuple_mapper::type +make_tuple(const T0& t0, const T1& t1, const T2& t2) { return typename boost::detail::tuples::make_tuple_mapper::type(t0, t1, t2); } template -typename boost::detail::tuples::make_tuple_mapper::type -inline make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3) { +inline typename boost::detail::tuples::make_tuple_mapper::type +make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3) { return typename boost::detail::tuples::make_tuple_mapper::type (t0, t1, t2, t3); } template -typename boost::detail::tuples::make_tuple_mapper::type -inline make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3, +inline typename boost::detail::tuples::make_tuple_mapper::type +make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3, const T4& t4) { return typename boost::detail::tuples::make_tuple_mapper::type (t0, t1, t2, t3, t4); } template -typename boost::detail::tuples::make_tuple_mapper::type -inline make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3, +inline typename boost::detail::tuples::make_tuple_mapper::type +make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3, const T4& t4, const T5& t5) { return typename boost::detail::tuples::make_tuple_mapper::type (t0, t1, t2, t3, t4, t5); } template -typename boost::detail::tuples::make_tuple_mapper::type -inline make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3, +inline typename boost::detail::tuples::make_tuple_mapper::type +make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3, const T4& t4, const T5& t5, const T6& t6) { return typename boost::detail::tuples::make_tuple_mapper ::type @@ -604,8 +604,8 @@ inline make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3, template -typename boost::detail::tuples::make_tuple_mapper::type -inline make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3, +inline typename boost::detail::tuples::make_tuple_mapper::type +make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3, const T4& t4, const T5& t5, const T6& t6, const T7& t7) { return typename boost::detail::tuples::make_tuple_mapper ::type @@ -614,9 +614,9 @@ inline make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3, template -typename boost::detail::tuples::make_tuple_mapper +inline typename boost::detail::tuples::make_tuple_mapper ::type -inline make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3, +make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3, const T4& t4, const T5& t5, const T6& t6, const T7& t7, const T8& t8) { return typename boost::detail::tuples::make_tuple_mapper @@ -626,9 +626,9 @@ inline make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3, template -typename boost::detail::tuples::make_tuple_mapper +inline typename boost::detail::tuples::make_tuple_mapper ::type -inline make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3, +make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3, const T4& t4, const T5& t5, const T6& t6, const T7& t7, const T8& t8, const T9& t9) { return typename boost::detail::tuples::make_tuple_mapper @@ -640,55 +640,55 @@ inline make_tuple(const T0& t0, const T1& t1, const T2& t2, const T3& t3, // Tie function templates ------------------------------------------------- template -tuple inline tie(T1& t1) { +inline tuple tie(T1& t1) { return tuple (t1); } template -tuple inline tie(T1& t1, T2& t2) { +inline tuple tie(T1& t1, T2& t2) { return tuple (t1, t2); } template -tuple inline tie(T1& t1, T2& t2, T3& t3) { +inline tuple tie(T1& t1, T2& t2, T3& t3) { return tuple (t1, t2, t3); } template -tuple inline tie(T1& t1, T2& t2, T3& t3, T4& t4) { +inline tuple tie(T1& t1, T2& t2, T3& t3, T4& t4) { return tuple (t1, t2, t3, t4); } template -tuple -inline tie(T1& t1, T2& t2, T3& t3, T4& t4, T5& t5) { +inline tuple +tie(T1& t1, T2& t2, T3& t3, T4& t4, T5& t5) { return tuple (t1, t2, t3, t4, t5); } template -tuple -inline tie(T1& t1, T2& t2, T3& t3, T4& t4, T5& t5, T6& t6) { +inline tuple +tie(T1& t1, T2& t2, T3& t3, T4& t4, T5& t5, T6& t6) { return tuple (t1, t2, t3, t4, t5, t6); } template -tuple -inline tie(T1& t1, T2& t2, T3& t3, T4& t4, T5& t5, T6& t6, T7& t7) { +inline tuple +tie(T1& t1, T2& t2, T3& t3, T4& t4, T5& t5, T6& t6, T7& t7) { return tuple (t1, t2, t3, t4, t5, t6, t7); } template -tuple -inline tie(T1& t1, T2& t2, T3& t3, T4& t4, T5& t5, T6& t6, T7& t7, T8& t8) { +inline tuple +tie(T1& t1, T2& t2, T3& t3, T4& t4, T5& t5, T6& t6, T7& t7, T8& t8) { return tuple (t1, t2, t3, t4, t5, t6, t7, t8); } template -tuple -inline tie(T1& t1, T2& t2, T3& t3, T4& t4, T5& t5, T6& t6, T7& t7, T8& t8, +inline tuple +tie(T1& t1, T2& t2, T3& t3, T4& t4, T5& t5, T6& t6, T7& t7, T8& t8, T9& t9) { return tuple (t1, t2, t3, t4, t5, t6, t7, t8, t9); @@ -696,8 +696,8 @@ inline tie(T1& t1, T2& t2, T3& t3, T4& t4, T5& t5, T6& t6, T7& t7, T8& t8, template -tuple -inline tie(T1& t1, T2& t2, T3& t3, T4& t4, T5& t5, T6& t6, T7& t7, T8& t8, +inline tuple +tie(T1& t1, T2& t2, T3& t3, T4& t4, T5& t5, T6& t6, T7& t7, T8& t8, T9& t9, T10& t10) { return tuple (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10);