Skip to content

Commit ceb4932

Browse files
committed
better comment
1 parent 1eb14d7 commit ceb4932

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/beman/inplace_vector/inplace_vector.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,8 +574,7 @@ class inplace_vector : public inplace_vector_base<T, Capacity> {
574574
#ifdef __cpp_constexpr_dynamic_alloc
575575
auto final = std::construct_at(end(), std::forward<Args>(args)...);
576576
#else
577-
// This is just construct_at expanded out, note this is not constexpr
578-
// friendly
577+
// Note placement new may not be not constexpr friendly
579578
auto final = ::new (end()) T(std::forward<Args>(args)...);
580579
#endif
581580
this->change_size(1);

0 commit comments

Comments
 (0)