Boost logo

Boost :

Subject: Re: [boost] [Mixin] Some comments
From: Borislav Stanimirov (b.stanimirov_at_[hidden])
Date: 2015-01-12 07:01:47


On 11.1.2015 г. 16:52 ч., Klaim - Joël Lamotte wrote:
> On Sun, Jan 11, 2015 at 8:59 AM, Borislav Stanimirov <b.stanimirov_at_[hidden]>
> wrote:
>
>> On 11.1.2015 г. 03:05 ч., Klaim - Joël Lamotte wrote:
>>
>>> Last months I have seen mentionned several implemetnations of this pattern
>>>
>> in C++11/14 on github but was not pleased with any design so far.
>>> The design of Boost.Mixin is close to what I want but don't reach my needs
>>> yet (or at least last time I looked at it).
>>>
>>>
>>>
>> Yes I remember our discussion from a year ago. Indeed the library isn't
>> what you need and it's not moving in that direction.
>>
>> Fair enough. It looks like a Stateshart/MSM situation where different
> approaches meets different needs (Vincente wants a compile-time checked
> system,
> I see how to do it but not how to make open to runtime extensions)
>

I don't think it's possible (or, at the very least, practicle).

The compile time constructed objects will need to be template classes,
which can't work well with the run time polymorphism that the library
provides.

-- Borislav


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk