leftibot ece441ca1c Fix #524: Support std::vector of non-copyable types like std::unique_ptr
Several STL bootstrap functions unconditionally instantiated copy-dependent
operations (copy constructor, assignment, push_back/push_front by const ref,
insert_at, and resize with fill value), causing compilation failures when
registering containers of move-only types like std::unique_ptr. Guard these
operations with if constexpr(std::is_copy_constructible_v<value_type>) so they
are only compiled when the element type supports copying.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 08:54:35 -06:00
..
chaiscript Fix #524: Support std::vector of non-copyable types like std::unique_ptr 2026-04-11 08:54:35 -06:00