Subject: Re: [Boost-users] [variant][any] template parameterized variant
From: Igor R (boost.lists_at_[hidden])
Date: 2010-10-09 12:00:04


>  to simplify the question:
>
>  template<class T>
>  class dummy{ ... };
>
>  variant< "dummy<T>" > v; //for all T

You can make an mpl sequence of all T, then apply a metafunction,
which produces a sequence of dummy<T>, then apply make_variant_over.