More P0202 constexpr work. This commit adds fill/fill_n/generate/generate_n/unique...
authorMarshall Clow <mclow.lists@gmail.com>
Sat, 20 Jan 2018 20:14:32 +0000 (20:14 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Sat, 20 Jan 2018 20:14:32 +0000 (20:14 +0000)
commit4bfb9313c1ede05d3d59571faace20cd810e1fb9
tree0d3ab7d6bd8a9f75caf8a2e4efa608a352052f91
parent52fa0e9300892bfe982b948136c91c512170200c
More P0202 constexpr work. This commit adds fill/fill_n/generate/generate_n/unique/unique_copy. I removed a specialization of fill_n that recognized when we were dealing with raw pointers and 1 byte trivially-assignable types and did a memset, because the compiler will do that optimization for us.

llvm-svn: 323050
libcxx/include/algorithm
libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill.pass.cpp
libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp
libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/generate.pass.cpp
libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/generate_n.pass.cpp
libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique.pass.cpp
libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_copy.pass.cpp
libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_copy_pred.pass.cpp
libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/unique_pred.pass.cpp