Use call_param for deducing type better.

This commit is contained in:
Kohei Takahashi
2014-11-21 00:53:50 +09:00
parent aa4d67258b
commit d185bd5df6
7 changed files with 13 additions and 10 deletions

View File

@ -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