mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-05-01 03:19:28 +08:00
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: leftibot <leftibot@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Jason Turner <jason@emptycrate.com> |
||
|---|---|---|
| .. | ||
| dispatchkit | ||
| language | ||
| utility | ||
| chaiscript_basic.hpp | ||
| chaiscript_defines.hpp | ||
| chaiscript_stdlib.hpp | ||
| chaiscript_threading.hpp | ||
| chaiscript.hpp | ||