How to implement private constructor
    Vinod K Chandran 
    kcvinu82 at gmail.com
       
    Mon Apr 25 13:08:56 UTC 2022
    
    
  
On Monday, 25 April 2022 at 07:19:31 UTC, bauss wrote:
>
>> Yes and in addition to Ali's message then remember it's 
>> private for the module only.
>>
> Oops typo.
>>
> What I meant is that private is module level, so it's __not__ 
> private in the module, but it is for other modules.
Thanks for the reply. Got it. All I wanted to implement more than 
ctor with different parameters and avoid code duplication.
    
    
More information about the Digitalmars-d-learn
mailing list