I'm using VS 2012 with VA 2212 in an MFC project and get the blue underline on destructor names, such as:
virtual ~CFoo() {}
Code Inspection suggests the option: Use '= default' and changes the code to:
virtual ~CFoo() = default;
However, this doesn't compile for me (error C2065 - undeclared identifier).
The default also gets a red wiggly underline and when I hover over it, then I am told that only =0 is allowed.
Am I doing something wrong or is this a bug?
Kind regards,
Marcus