[PATCH] Add an emplace(...) method to llvm::Optional<T>.

Jordan Rose jordan_rose at apple.com
Fri Sep 26 14:56:01 PDT 2014


We're using it internally in our own version of Optional; my guess would be that it would only be for projects that had stricter requirements than LLVM and Clang do (like lld, which requires MSVS 2012). However, I could add the fake-variadic up-to-six-arguments fallback for now.

http://reviews.llvm.org/D5508






More information about the llvm-commits mailing list