-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[C++] Support mapping types for RowEncodeTrait (#1247)
<!-- Thank you for your contribution! Please review https://github.com/alipay/fury/blob/main/CONTRIBUTING.rst before opening a pull request. --> ## What do these changes do? <!-- Please give a short brief about these changes. --> We support all mapping types (e.g. std::map, std::multimap, std::unordered_map ...) for RowEncodeTrait and RowEncoder, e.g. ```c++ struct G { std::map<int, std::map<int, int>> a; std::map<std::string, A> b; }; FURY_FIELD_INFO(G, a, b); ... ``` ## Check code requirements - [x] tests added / passed (if needed) - [x] Ensure all linting tests pass, see [here](https://github.com/alipay/fury/blob/main/CONTRIBUTING.rst) for how to run them
- Loading branch information
1 parent
2112b37
commit 7cf49a1
Showing
4 changed files
with
180 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters