Boost logo

Boost Users :

Subject: Re: [Boost-users] variant with shrink
From: Niitsuma Hirotaka (hirotaka.niitsuma_at_[hidden])
Date: 2013-03-02 14:05:51


> float tends not to hold all ints. double usually does, although I'm not
> sure it is guaranteed.

Such complicated type order can use by defining
  is_generalizable_to<T, BaseType>

plz see section
   define is_generalizable_to :
in
https://github.com/niitsuma/variant_shrink


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