Le 17/09/14 23:30, Vicente J. Botet Escriba a écrit :
Le 17/09/14 22:49, Louis Dionne a écrit :
Vicente J. Botet Escriba
writes: In addition, I wonder if the category associated shouldn't depend on the type class we want to map.
TC::Instance
> I'm not sure why that would be useful. Do you have a use case in mind? After more thoughts the user can always specialize TC::Instance<T> inheriting from TC::Instance<CatA>.
struct TC::Instance<T> : TC::Instance<CatA> {};
A deeper analysis of your code let me think that you have already
something similar to what I was requesting.
#define
BOOST_HANA_TYPECLASS(NAME) \
/** @cond
*/ \
template