polymorphic_value icon indicating copy to clipboard operation
polymorphic_value copied to clipboard

`std::in_place_type_t` constructor is missing from the paper

Open Twon opened this issue 1 year ago • 2 comments

@jbcoe I assume this is an oversight on our part? Let me know and I can address this.

Twon avatar May 29 '23 08:05 Twon

@Twon pure oversight. Please go ahead.

jbcoe avatar May 29 '23 11:05 jbcoe

Also looks like we have missed of the std::allocator_arg_t constructor (but it is on the reference implementation).

  template <class U, class A, class = std::enable_if_t<std::is_convertible_v<U*, T*>>>
  ISOCPP_P0201_CONSTEXPR_CXX20 constexpr polymorphic_value(U* u, std::allocator_arg_t, const A& alloc);

Twon avatar May 29 '23 13:05 Twon