Commit Graph

16 Commits

Author SHA1 Message Date
saipubw 63bfdbeae1
[struct_pack][breakchange] use struct_pack::err_code instead of struct_pack::errc as return value (#566) 2024-01-17 18:10:56 +08:00
saipubw 2a53295012
[struct_pack][doc] fix cnapi document (#563) 2024-01-11 12:30:52 +08:00
saipubw 59bbecfc00
[struct_pack] enhance struct_pack::write/read/get_write_size (#551) 2023-12-28 16:50:16 +08:00
saipubw 3850f605fa
[struct_pack][fix]add ID collsion compile-time check & doc. (#532) 2023-12-19 18:57:16 +08:00
saipubw 63c3bf5187
[struct_pack][bugfix] fix broken container size cause program crash (#509) 2023-12-01 11:27:23 +08:00
saipubw c8dbcf65d5
[struct_pack] support fast_varint encode, allow encode int as varint by config (#499)
* add support for fast_varint encoding

* allow serialize normal int as varint encode
2023-11-23 20:36:49 +08:00
saipubw 873d75fadf
[struct_pack] enhance serialize performance by uninitialized resize (#489) 2023-11-10 16:36:36 +08:00
saipubw ae6abd1685
[struct_pack] add config DISABLE_ALL_META_INFO (#488) 2023-11-09 19:21:25 +08:00
saipubw d32b0eed07
[struct_pack] refactor code (#464) 2023-09-21 17:46:12 +08:00
saipubw daedb6aaee
[struct_pack][feat] add derived class into struct_pack type system (#463) 2023-09-21 15:20:22 +08:00
saipubw aca25a38aa
[struct_pack] simple detail::get_types_code (#462) 2023-09-20 20:44:33 +08:00
saipubw ad3abef1ff
[struct_pack][feat] support deserialize derived class (#459) 2023-09-18 20:28:20 +08:00
saipubw 23d62e761b
[struct_pack][breakchange][feat] support c++17 (#392)
* [struct_pack] remove consteval

* [struct_pack] compatible likely/unlikely

* [struct_pack] don't include tuplet:tuple in cpp17

* [struct_pack] bench/test/examples support cpp17

* [struct_pack] remove spaceship operator for cpp17

* [struct_pack] remove auto in function parameters

* [struct_pack] use void_t/constexpr bool/static_assert to simulate concept when -std=c++17

* [struct_pack]  remove requires

* [struct_pack] remove std::remove_cvref_t

* [struct_pack] remove char8_t

* [struct_pack] remove std::same_as

* [struct_pack][breakchange] use uint64_t to instead struct_pack::serialize_config

* [struct_pack] remove unevaluate inline lambda

* [struct_pack] fix trivially_copyable_container

* [struct_pack] fix struct_pack_benchmark

* [struct_pack] remove default operator ==

* [struct_pack] fix string_literal

* [struct_pack] fix explicit template paramters in lamdba

* [struct_pack] move <bit> header file

* [struct_pack] fix msvc test failed

* [struct_pack] update doc & ci
2023-08-02 16:29:22 +08:00
saipubw d97219352d
[Doc] fix api reference (#353) 2023-07-05 20:24:52 +08:00
saipubw 66da6c93f5
Fix document (#350) 2023-07-05 17:42:38 +08:00
saipubw 333b1299c2
refactor project (#347)
refact project
2023-07-04 14:09:35 +08:00