[PATCH] Proposed change to the constructor of std::pair

Marshall Clow mclow.lists at gmail.com
Tue Feb 3 12:29:04 PST 2015


This would be an ABI break (changing the default constructor from a plain function to a template) if it wasn't marked as "always inline".  This means that the constructor never gets "called" (the code is just splatted in), and hence, no ABI break :-)

Also, for reference, see LWG issue #2367  http://cplusplus.github.com/LWG/lwg-active.html#2367


http://reviews.llvm.org/D7384

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list