
13 Jun
2016
13 Jun
'16
2:29 p.m.
On 06/13/2016 06:31 AM, Thijs van den Berg wrote:
Hi Giuseppe,
I'm still hoping to see a strongly typed C++ heterogeneous container that doesn't enforce base classes on elements,
By "base class on elements" do you mean something like the multiple inheritance method as described in mitchnull's reply here: http://stackoverflow.com/questions/4041447/how-is-stdtuple-implemented#answe... IOW, that method muliply inherits from TupleLeaf<I, TI>, for I=0...sizeof...(T)-1 for: template<typename... T> class PseudoTuple ; If that's what you mean, then could you explain the disadvantage of this method vs some other method? TIA. -regards, Larry