mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-05-01 03:19:28 +08:00
The function_less_than comparator used by std::stable_sort violated the strict-weak ordering requirement in two ways: (1) functions with different arities but matching overlapping parameters were treated as equivalent, breaking transitivity, and (2) the dynamic_object_type_name comparison silently fell through when one side had an empty type name. Fixed by ordering by arity when overlapping parameters match, and imposing a total order on dynamic object type names. 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 | ||