We can try to emulate it, yes. But it results in bug-prone and 'll ugly. C++ gives more comfortable ways to implement things. And attributes - it's only restrictions and gives almost nothing. If you don't want to play with pointers - just don't do it instead of writing @safe etc.