From d1bb12c43d4da55005b2472ea590c0e180556708 Mon Sep 17 00:00:00 2001 From: Alexander Sherikov Date: Fri, 26 Jul 2024 00:25:22 +0400 Subject: [PATCH] +ariles2::Any2: replacement for ariles2::Any --- CHANGELOG.md | 8 + README.md | 7 + include/ariles2/types.h | 232 +++++++++++++++++++++++++ tests/api_v2/fixtures/002_comparison.h | 5 +- tests/api_v2/types/any.h | 129 +++++++++----- tests/api_v2/types/complex_base.h | 4 +- 6 files changed, 339 insertions(+), 46 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b13012c4..52a92860 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ CHANGELOG ========= +UNRELEASED +========== + +Added +----- +* `ariles2::Any2`: a replacement for deprecated `ariles2::Any`. + + 2.3.2 ===== diff --git a/README.md b/README.md index b69d70b9..658b98b5 100644 --- a/README.md +++ b/README.md @@ -270,3 +270,10 @@ Related software * A library with similar functionality in C++17 . + + +Deprecated +========== + +- `ariles2::namevalue` +- `ariles2::Any` diff --git a/include/ariles2/types.h b/include/ariles2/types.h index 1bb188f0..f496951f 100644 --- a/include/ariles2/types.h +++ b/include/ariles2/types.h @@ -215,6 +215,238 @@ namespace ariles2 } // namespace ariles2 +namespace ariles2 +{ + template