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

Marshall Clow mclow.lists at gmail.com
Tue Feb 3 11:34:38 PST 2015


More: It's not so much that this is a defect in the standard (the default constructor's requirement that both types must be default constructible is a requirement on the caller, and having them be references, which are not default constructible is clearly an error), but instead an effort to make pair more SFINAE-friendly; to make the default constructor nonexistent instead of a hard error.


http://reviews.llvm.org/D7384

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






More information about the cfe-commits mailing list