[Issue 1528] [tdpl] overloading template and non-template functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 25 05:54:15 PDT 2012


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


Simen Kjaeraas <simen.kjaras at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simen.kjaras at gmail.com


--- Comment #6 from Simen Kjaeraas <simen.kjaras at gmail.com> 2012-08-25 05:53:56 PDT ---
This bug causes problems with @disabled default constructors.

Given:

struct Foo {
    @disable this();
    this( T )( T a ) {
    }
}

This bug triggers.

Given instead:

struct Bar {
    @disable this( )( );
    this( T )( T a ) {
    }
}

The default constructor is not disabled.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list