Some notes on Rust

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sat Feb 7 15:52:04 PST 2015


On 2/7/15 3:46 PM, Paulo Pinto wrote:
> Any attempt to assign anything outside 0..64 range to Size will
> trigger an error, either at compile or run-time.

What would be the similarities and differences of this built-in feature 
with traditional encapsulation using e.g. a C++ class? Thanks! -- Andrei


More information about the Digitalmars-d mailing list