Commit Graph
29 Commits
Author SHA1 Message Date
KostinPavel 732e9fe85f Cleanup includes (#519) 2025-10-13 18:16:14 +02:00
Philemon Benner 075488a673 added explicit ref-qualifiers for Error::what() and a additional overload to allow moving Error::what_ to caller if Error is an rvalue (#505) 2025-09-29 08:20:47 +03:00
Gregory Dushkin dcc4c1d5c9 Better forwarding to improve read performance a little (#484) 2025-08-25 01:24:34 +02:00
Dr. Patrick Urbanke (劉自成) a0fe3975e8 Better rvalue handling for NamedTuple and Result (#446) 2025-06-09 16:47:39 +02:00
Filippo Brizzi 76ad9f8f36 add missing include new (#373) 2025-03-08 11:05:59 +08:00
Jowillianto 6d51c12db5 Feat/286/std expected (#340) 2025-02-03 19:27:10 +01:00
Dr. Patrick Urbanke (劉自成) 95f97b4872 Use static_cast for the pointer transformations (#298) 2024-12-18 21:17:05 +01:00
Dr. Patrick Urbanke (劉自成) 0ebaeeff0d Bugfix: Memory leak under some circumstances; resolves #212 (#215) 2024-10-13 20:00:34 +02:00
Dr. Patrick Urbanke (劉自成) 7274a2eb47 Use std::launder where appropriate (#181) 2024-09-05 20:18:46 +02:00
Dr. Patrick Urbanke (劉自成) a562a6fb88 Added a custom implementation of a variant (rfl::Variant) (#151) 2024-07-17 22:10:28 +02:00
Dr. Patrick Urbanke (劉自成)andPatrick Urbanke 7f0350f576 Move some code into source files to reduce compile time; #86 (#136)
---------

Co-authored-by: Patrick Urbanke <patrick@getml.com>
2024-07-03 23:14:10 +02:00
liuzicheng1987 579ec6e919 More efficient implementation of rfl::Result (#102) 2024-05-19 20:55:13 +02:00
Patrick Urbanke 58d89e717c Optimizationg for the reader and writer; #68 2024-03-16 09:58:26 +01:00
Mark Melton 6a65d01a26 Two small fixes for clang/Darwin build
On clang/Darwin, the array member `arr_` in StringLiteral was not
considered initalized when constructed using "". Adding default
initialization fixed the issue.

On clang/Darwin, std::string was not defined in Result.hpp. Including
<string> fixed the issue.
2024-01-12 16:43:13 -05:00
hazby2002 c6d3012510 Remove Result<c-array>. 2024-01-02 18:17:32 +08:00
hazby2002 fe956b3779 Implement read operation of Parser for c-arrays. 2024-01-02 13:38:51 +08:00
hazby2002 df26f6df6c Implement write operation of Parser for c-arrays. 2024-01-02 13:35:33 +08:00
hazby2002 2d45ddfdc8 Change all decay to remove_cvref. 2023-12-29 17:05:16 +08:00
Patrick Urbanke c5347eee28 Added XML support; #21 2023-12-20 21:07:36 +01:00
Patrick Urbanke f9a16641c9 Added support for parsing results 2023-11-05 11:38:33 +01:00
Patrick Urbanke ea3ce3632c Added support for better error messages 2023-10-21 14:19:32 +02:00
Patrick Urbanke 013708b77c Removed unnecessary boilerplate code 2023-10-15 17:58:37 +02:00
Patrick Urbanke 823f796519 Added move constructor for different type to result 2023-10-11 21:49:50 +02:00
Patrick Urbanke 745c7ead2c Added support for clang 2023-10-09 21:08:05 +02:00
Patrick Urbanke a5504d7db7 Make sure that we are consistently following the Rule of 5 2023-10-08 03:21:38 +02:00
Patrick Urbanke 21803f509e Added support for std::unique_ptr and rfl::Box 2023-10-07 12:23:48 +02:00
Patrick Urbanke a3f693c5e8 Beautification and optimization 2023-10-02 22:15:31 +02:00
Patrick Urbanke 656929f6e2 Added perfect forwarding to Result 2023-10-02 21:55:58 +02:00
Patrick Urbanke 9a10b2f55e Added code and first tests 2023-09-30 22:02:10 +02:00