|
Boost : |
Subject: Re: [boost] [design] policy based. Was: [XInt] Review
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2011-03-10 20:20:36
On Thu, 10 Mar 2011 23:06:46 +0100
Joachim Faulhaber <afojgo_at_[hidden]> wrote:
>> integer_t handles some options, and passes the data to the
>> implementing class for others. It was the best solution I could find
>> to handle all options.
>
> [...] I invested some work to make my suggestion about good design
> more concrete. I will give you a small example of a policy based
> design that is directly related to some problems of code replication
> and insufficient separation of concerns in your library. At the same
> time I hope it'll help to understand policy based design, which
> includes getting a better understanding for myself. [...]
I think I see what you're getting at. Thank you. I'll have to think
about that further to see the best way to implement it.
-- Chad Nelson Oak Circle Software, Inc. * * *
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk