[PATCH] Implement std::experimental::sample

Evgeniy Stepanov eugenis at google.com
Wed Apr 15 18:52:36 PDT 2015


In http://reviews.llvm.org/D9044#156813, @EricWF wrote:

> You'll need to use reserved identifiers


Do you mean for local variable names? Is there a technical reason for this, or just a code style thing?

> and guard the definition of `sample` inside a C++14 only block because adding a new definition of could break existing code.


n4335 does not seem to require that this is only available in C++14. And aren't names under std:: already reserved, and an addition of a new std:: name could not break compliant code?


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9044

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






More information about the cfe-commits mailing list