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

@ -122,7 +122,8 @@ namespace boost { namespace fusion
#endif
BOOST_FUSION_GPU_ENABLED
explicit deque(Head const& head, Tail const&... tail)
explicit deque(typename detail::call_param<Head>::type head
, typename detail::call_param<Tail>::type... tail)
: base(detail::deque_keyed_values<Head, Tail...>::construct(head, tail...))
{}