unicstl/include
jf-home 26eeb65cc9 refactor(core)!: 重构链表核心API,增加 const 正确性与自定义断言
- 将所有打印和比较函数的参数指针从 `void*` 修改为 `const void*`,增强类型安全
- 引入自定义断言宏 `unicstl_assert` 及其实现,替换标准 `assert`
- 优化动态数组容量增长策略,新增 `unicstl_new_capacity` 函数
- 重构链表 接口:`push`/`pop` 重命名为 `push_back`/`pop_front`,新增 `push_front`/`pop_back`/`insert`/`remove`/`contains` 方法
- 移除链表结构体中未使用的 `_index_front` 和 `_index_back` 成员
- 在头文件中补充关键函数的时间复杂度注释
2026-05-12 02:26:21 +08:00
..
darray.h refactor(core)!: 重构链表核心API,增加 const 正确性与自定义断言 2026-05-12 02:26:21 +08:00
deque.h refactor(core)!: 重构链表核心API,增加 const 正确性与自定义断言 2026-05-12 02:26:21 +08:00
graph.h refactor(core)!: 重构链表核心API,增加 const 正确性与自定义断言 2026-05-12 02:26:21 +08:00
heap.h refactor(core)!: 重构链表核心API,增加 const 正确性与自定义断言 2026-05-12 02:26:21 +08:00
iterator.h 修改common为unicstl_internal,顺便给其他数据结构都添加默认的compare和print_obj接口 2025-04-30 23:26:36 +08:00
linklist.h refactor(core)!: 重构链表核心API,增加 const 正确性与自定义断言 2026-05-12 02:26:21 +08:00
list.h refactor(core)!: 重构链表核心API,增加 const 正确性与自定义断言 2026-05-12 02:26:21 +08:00
queue.h refactor(core)!: 重构链表核心API,增加 const 正确性与自定义断言 2026-05-12 02:26:21 +08:00
stack.h refactor(core)!: 重构链表核心API,增加 const 正确性与自定义断言 2026-05-12 02:26:21 +08:00
tree.h refactor(core)!: 重构链表核心API,增加 const 正确性与自定义断言 2026-05-12 02:26:21 +08:00
unicstl_config.h refactor(core)!: 重构链表核心API,增加 const 正确性与自定义断言 2026-05-12 02:26:21 +08:00
unicstl_internal.h refactor(core)!: 重构链表核心API,增加 const 正确性与自定义断言 2026-05-12 02:26:21 +08:00
unicstl.h linklist先照搬了queue,后续用到再修改吧。另外,darray中的部分函数传参,我添加了const修饰 2026-05-11 19:05:58 +08:00