[Issue 16171] std.experimental.allocator.make does not respect private class constructors

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 14 05:23:18 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16171

b2.temp at gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp at gmx.com
                 OS|Windows                     |All
           Severity|enhancement                 |normal

--- Comment #1 from b2.temp at gmx.com ---
(In reply to joeyemmons from comment #0)
> 
> Worse even is it will still work even if class test does not have a default
> constructor at all.
> 
> module other;
> class test{
> 	private this(int i){
>              // No default constructor... 
> 	}
> }

please make another report for this one. This is another issue.

--


More information about the Digitalmars-d-bugs mailing list