mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-05-01 03:19:28 +08:00
Add a new overload of utility::add_class that accepts a fifth parameter for static functions. Static functions are registered as attributes of a Dynamic_Object namespace with the class name, enabling ClassName.func() call syntax. To allow constructors to coexist with the namespace global, Fun_Call_AST_Node now falls back to dispatch-by-name when the evaluated identifier is not directly callable. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| fnv1a.hpp | ||
| hash.hpp | ||
| json_wrap.hpp | ||
| json.hpp | ||
| quick_flat_map.hpp | ||
| stack_vector.hpp | ||
| static_string.hpp | ||
| utility.hpp | ||