mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-03 00:26:19 +08:00
Added badges to the README.md
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
# reflect-cpp
|
||||
#  reflect-cpp
|
||||
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
|
||||
[](https://shields.io/)
|
||||
[](https://shields.io/)
|
||||
[](https://shields.io/)
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
**reflect-cpp** is a C++-20 library for fast serialization and deserialization using compile-time reflection, similar to [serde](https://github.com/serde-rs) in Rust, [pydantic](https://github.com/pydantic/pydantic) in Python, [encoding](https://github.com/golang/go/tree/master/src/encoding) in Go or [aeson](https://github.com/haskell/aeson/tree/master) in Haskell.
|
||||
|
||||
As the aformentioned libraries are among the most widely used in the respective languages, reflect-cpp fills an important gap in C++ development. It reduces boilerplate code and increases code safety.
|
||||
@@ -74,10 +82,10 @@ homer2.first_name = "Marge";
|
||||
reflect-cpp supports the following containers from the C++ standard library:
|
||||
|
||||
- `std::array` (TODO)
|
||||
- `std::deque` (TODO)
|
||||
- `std::forward_list` (TODO)
|
||||
- `std::map` (TODO)
|
||||
- `std::list` (TODO)
|
||||
- `std::deque`
|
||||
- `std::forward_list`
|
||||
- `std::map`
|
||||
- `std::list`
|
||||
- `std::optional`
|
||||
- `std::pair`
|
||||
- `std::set`
|
||||
@@ -85,8 +93,8 @@ reflect-cpp supports the following containers from the C++ standard library:
|
||||
- `std::string`
|
||||
- `std::tuple`
|
||||
- `std::unique_ptr`
|
||||
- `std::unordered_map` (TODO)
|
||||
- `std::unordered_set` (TODO)
|
||||
- `std::unordered_map`
|
||||
- `std::unordered_set`
|
||||
- `std::variant`
|
||||
- `std::vector`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user