Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for delete/default declaration #80

Closed
ashleyj opened this issue Feb 28, 2016 · 2 comments
Closed

Add support for delete/default declaration #80

ashleyj opened this issue Feb 28, 2016 · 2 comments

Comments

@ashleyj
Copy link
Contributor

ashleyj commented Feb 28, 2016

Add support for C++ default and delete declarations (http://www.stroustrup.com/C++11FAQ.html#default)

eg.

class X {
        // ...
        X& operator=(const X&) = delete;    // Disallow copying
        X(const X&) = delete;
    };

or explicit default:

class Y {
        // ...
        Y& operator=(const Y&) = default;   // default copy semantics
        Y(const Y&) = default;
    };
@saudet
Copy link
Member

saudet commented Feb 28, 2016

Should now work! Thanks for trying this stuff out :)

@saudet
Copy link
Member

saudet commented May 19, 2016

Released in version 1.2, thanks for reporting!

@saudet saudet closed this as completed May 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants