|
Geometry : |
Subject: [geometry] Why reverse_dispatch returns bool rather than mpl::bool_<T> ?
From: Samuel Debionne (samuel.debionne_at_[hidden])
Date: 2014-05-20 10:20:17
Hello all,
It's all in title but the reason I'm asking is that non-type parameter
are not really friendly with mpl metafunction composition. For instance,
a Placeholder Expression requires that :
> All of X's template parameters, including the default ones, are types.
Concrete problem :
I would like to turn the detail::distance::default_strategy into a meta
function class :
mpl::quote5<detail::distance::default_strategy> would do the trick if
the Reverse template parameter was not a non type parameter bool.
Regards,
Samuel
Geometry list run by mateusz at loskot.net