4 ms·
Is there a way to declare any type uncopyable? This is something I always thought Ada got right.
by erik_seaberg 3y ago
Is there a way to declare any type uncopyable? This is something I always thought Ada got right.
- deleted 3y ago[deleted]
- smasher164 3y agoyou stick this in your struct type noCopy struct{} func (*noCopy) Lock() {} func (*noCopy) Unlock() {}