Commit Graph

7 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 dc10d035f5
[struct_pack] add document, bench, example for fast_varint (#503)
* improve varint performance

* add bench for fast_var_int

* add document & example for fast_varint
2023-11-24 23:40:45 +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 71692db591
[struct_pack] Add support for big-endian platform (#474) 2023-10-13 15:36:33 +08:00
saipubw d32b0eed07
[struct_pack] refactor code (#464) 2023-09-21 17:46:12 +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 333b1299c2
refactor project (#347)
refact project
2023-07-04 14:09:35 +08:00