Use call_param for deducing type better.

This commit is contained in:
Kohei Takahashi committed 2014-12-02 08:37:58 +09:00
1 parent aa4d67258b
commit d185bd5df6
7 files changed
+13 -10

No files matched your search

@@ -31,7 +31,7 @@
#if N == 1
explicit
#endif
map(BOOST_PP_ENUM_BINARY_PARAMS(N, T, const& arg))
map(BOOST_PP_ENUM_BINARY_PARAMS(N, typename detail::call_param<T, >::type arg))
: data(BOOST_PP_ENUM_PARAMS(N, arg)) {}
#undef N