It is a completly restart.
Hm, I don't know, a solution for 'final' should be this:
[code]
struct Final(T) {
private:
        T _val;
        
public:
        @disable
        this();
        
        this(T val) {
                this._val = val;
        }
        
        @disable
        ref typeof(this) opAssign(T val);
        
        @property
        inout(T) get() inout {
                return this._val;
        }
        
        alias get this;
}
[/code]
If you can write some use cases for this I will think about it.

Reply via email to