
On Thu, Dec 16, 2010 at 9:20 AM, Dave Abrahams <dave@boostpro.com> 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 that up. -- -Matt Calabrese