Boost logo

Boost Users :

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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net