We will be upgrading to VS2015 soon, and I found this in the breaking changes list:
const elements
The C++ standard has always forbidden containers of const elements (such as vector or set). Visual C++ 2013 and earlier accepted such containers. In the current version, such containers fail to compile.
I was wondering if anyone knows if this also applies to a set. I know a map can still contain const pointers as keys, since they are const anyway.
An example:
std::set<const QObject*>
Can I still do this? I would think not, according to the post on the site of Microsoft.