On Tuesday, 25 July 2017 at 02:48:57 UTC, NoBigDeal256 wrote:
What is the standard way of testing class templates in the context of a library where some of the classes may never actually be used by the library itself?
Write a test and instantiate whatever templates you want to test. class Test(T) { } unittest { auto t=new Test!int; assert(t.method1()==1); }