[libcxx-commits] [PATCH] D62641: Support arrays in make_shared and allocate_shared (P0674R1)

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Dec 26 16:22:51 PST 2020


zoecarver added a comment.

This is now ready for review (cc @ldionne).

The only thing I still need to resolve (maybe as a lwg issue): `initializer_list<T>` is not convertible to `remove_extent_t<T[][]>>` however, the paper explicitly lists `make_shared<double[][2]>(6, {1.0, 0.0})` as an example usage. Should I ignore that example, or add another overload (that is not specified in the standard)?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62641/new/

https://reviews.llvm.org/D62641



More information about the libcxx-commits mailing list