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/ _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
