Subject: Re: [boost] Provisional Boost.Generic and Boost.Auto_Function (concepts without concepts)
From: Matt Calabrese (rivorus_at_[hidden])
Date: 2010-12-16 10:56:23
On Thu, Dec 16, 2010 at 9:20 AM, Dave Abrahams <dave_at_[hidden]> wrote:
> I just wonder whether this sort of thing comes up often enough to
> warrant a feature, or is it enough to simply define separate Ellipse
> and MutableEllipse concepts?
I wonder the same thing but it's hard to be able to answer that question. I
can at the very least, though, say that I personally have run into multiple
situations analogous to this back when I was still in OOP land and I did, in
fact, just create mutable and immutable interfaces related by inheritance.
In those cases, a solution like this would have been a bit more concise.
The fact that there is a fairly well known name for this leads me to believe
that it's not incredibly uncommon, but I really don't have any way to back
-- -Matt Calabrese
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk