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

Jordan Rose jordan_rose at apple.com
Mon Sep 29 20:00:39 PDT 2014


Added non-variadic overloads for 0-4 arguments. What do you think?

http://reviews.llvm.org/D5508

Files:
  include/llvm/ADT/Optional.h
  unittests/ADT/OptionalTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5508.14202.patch
Type: text/x-patch
Size: 3206 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140930/6c2941ac/attachment.bin>


More information about the llvm-commits mailing list