llvm-6502/unittests
Jordan Rose 771ac70aed Add an emplace(...) method to llvm::Optional<T>.
This can be used for in-place initialization of non-moveable types.
For compilers that don't support variadic templates, only up to four
arguments are supported. We can always add more, of course, but this
should be good enough until we move to a later MSVC that has full
support for variadic templates.

Inspired by std::experimental::optional from the "Library Fundamentals" C++ TS.
Reviewed by David Blaikie.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218732 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-01 02:12:35 +00:00
..
ADT Add an emplace(...) method to llvm::Optional<T>. 2014-10-01 02:12:35 +00:00
Analysis
Bitcode
CodeGen
DebugInfo
ExecutionEngine
IR
LineEditor
Linker
MC
Option
Support
Transforms
CMakeLists.txt
Makefile
Makefile.unittest