Duplicate class/interface/struct completely

Bastiaan Veelo Bastiaan at Veelo.net
Tue Mar 26 10:43:58 UTC 2019


On Tuesday, 26 March 2019 at 05:29:08 UTC, Michelle Long wrote:
> The idea is to be able to make sure one can modify a class and 
> drop it in for the original and it work in all cases. With 
> alias this, it can fail unless we can alias it too.

This sounds like mocking, this answer might be of help: 
https://forum.dlang.org/post/gdfvbrknbnbfunycbvwd@forum.dlang.org

I don’t know the capabilities of these libraries, but you may 
want to have a look.

Bastiaan.


More information about the Digitalmars-d-learn mailing list