www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - More struct woes

reply "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
Fun, fun:

http://d.puremagic.com/issues/show_bug.cgi?id=9372

Now I have to use a dummy argument to my class ctor, just because it happens
to have a member that has a  disabled ctor. :-/


T

-- 
If I were two-faced, would I be wearing this one? -- Abraham Lincoln
Jan 22 2013
parent "Peter Sommerfeld" <noreply rubrica.at> writes:
H. S. Teoh wrote:

 http://d.puremagic.com/issues/show_bug.cgi?id=9372

 Now I have to use a dummy argument to my class ctor, just becauseit  
 happens to have a member that has a  disabled ctor. :-/

At least Trouble t = void; should work. But it does not! :-/ Peter
Jan 23 2013