Walter Bright Wrote:

> On 11/8/2011 11:10 AM, Martin Nowak wrote:
> > I personally find it much more astonishing that inout methods finally work.
> 
> In retrospect, it seems like a fairly straightforward solution, but it took 
> us 
> many, many hours and gallons of coffee. And, as far as I know, this solution 
> has 
> not been seen before in any other language, though there is a crying need for 
> it 
> in C++.

I don't think so. `inout` is needed in D because you get const data from const 
object because of transitivity, you have nothing like this in C++ POD. One can 
try to emulate transitive const with corresponding accessors, but is it used in 
C++ widely?

Reply via email to