Commit Graph

206 Commits

Author SHA1 Message Date
Peter Dimov
3047e5a72f Document the new overload of enum_from_string 2023-09-09 19:07:05 +03:00
Peter Dimov
cfddb57d3a Add an overload of enum_from_string that takes a string-like type (such as string_view). Fixes #41. 2023-09-09 18:52:41 +03:00
Peter Dimov
6e7d49c6e1 Do not use -Werror with Serialization under GCC 2023-09-09 17:57:18 +03:00
Peter Dimov
cc2281054e {"world"} is now string in Boost.JSON, not array 2023-09-09 17:23:26 +03:00
Peter Dimov
215042b480 Update ci.yml 2023-09-09 17:03:54 +03:00
Peter Dimov
a0eafb0810 Merge branch 'fix-deprecated-inline-static-variables' of https://github.com/Romain-Geissler-1A/describe into feature/pr-40 boost-1.83.0 boost-1.83.0.beta1 2023-05-21 04:51:35 +03:00
Peter Dimov
1692c3e5d6 Update ci.yml 2023-05-21 04:05:26 +03:00
Romain Geissler
b54fda5469 Fix -Wdeprecated warnings when compiling with C++ >= 17 (ie with inline variables).
Example of warning we get:
/data/mwrep/res/osp/Boost/23-0-0-0/include/boost/describe/members.hpp:89:81: error: redundant redeclaration of 'constexpr' static data member 'boost::describe::detail::update_modifiers<T, Bm>::fn<D>::pointer' [-Werror=deprecated]
 89 | template<class T, unsigned Bm> template<class D> constexpr decltype(D::pointer) update_modifiers<T, Bm>::fn<D>::pointer;
    | ^~~~~~~~~~~~~~~~~~~~~~~ /data/mwrep/res/osp/Boost/23-0-0-0/include/boost/describe/members.hpp:83:47: note: previous declaration of 'boost::describe::detail::update_modifiers<T, Bm>::fn<D>::pointer'
 83 | static constexpr decltype(D::pointer) pointer = D::pointer;
    | ^~~~~~~
2023-05-20 23:41:18 +00:00
Peter Dimov
311cab7565 Update documentation boost-1.81.0 boost-1.82.0.beta1 boost-1.82.0 boost-1.81.0.beta1 2022-10-30 02:02:43 +03:00
Peter Dimov
b5df0b2ee9 Reorder includes to work around an odd msvc-14.0 bug 2022-10-29 04:08:38 +03:00
Peter Dimov
1e32c60dff Update hash_value example for 1.81 2022-10-29 03:36:47 +03:00
Peter Dimov
0d8de0aae7 Enable JSON tests with msvc-14.0, as it's supported now 2022-10-28 07:01:24 +03:00
Peter Dimov
8ff96dcd9e Add pedantic_members_test 2022-10-28 06:31:01 +03:00
Peter Dimov
7a06d512dc Move BOOST_DESCRIBE_ENUM(modifiers) to modifier_description.hpp, to allow modifiers.hpp inclusion under -pedantic 2022-10-28 06:28:16 +03:00
Peter Dimov
2deab4c35c Add pedantic_bases_test 2022-10-28 06:19:17 +03:00
Peter Dimov
8a982de483 Add pedantic_enumerators_test 2022-10-28 06:06:24 +03:00
Peter Dimov
f8c2b7d2d9 Add comments to unnamed_namespace_test, unnamed_namespace_test2 2022-10-28 05:56:46 +03:00
Peter Dimov
5d13049e06 Use __attribute__((unused)) instead of [[maybe_unused]]; earlier Clangs don't have [[maybe_unused]], and it's a pedantic warning before C++17 2022-10-28 05:29:31 +03:00
Peter Dimov
df0f16a85b Do not set BOOST_DESCRIBE_CXX11 for g++ 4.7, as its C++11 support is not good enough 2022-10-28 05:24:46 +03:00
Peter Dimov
81d924fff2 Add Drone support 2022-10-28 04:28:58 +03:00
Peter Dimov
a1557028b3 Update ci.yml 2022-10-20 18:42:54 +03:00
Peter Dimov
6bf8045bac Disable warning 4100 under msvc-14.0 2022-10-20 18:27:14 +03:00
Peter Dimov
973bdf1725 Remove global -wd4100 2022-10-20 18:23:00 +03:00
Peter Dimov
f6bf0c4f1e Replace macos-10.15 with macos-11 in ci.yml 2022-09-29 20:40:21 +03:00
Peter Dimov
c156466e2b Fix operator test failures 2022-09-29 20:11:07 +03:00
Peter Dimov
9273e7c0af Add member functions to X in operator_eq_test, operator_lt_test 2022-09-29 20:07:59 +03:00
Peter Dimov
ef9c38f90c Update documentation boost-1.80.0.beta1 boost-1.80.0 2022-06-21 20:19:56 +03:00
Peter Dimov
6749a0f46a Disable msvc-12.0 and below warnings in bases_test.cpp 2022-06-21 19:31:06 +03:00
Peter Dimov
c8c46bfdf7 Disable -Wrestrict in pm_to_string.cpp for GCC 12 2022-06-21 18:02:06 +03:00
Peter Dimov
ccfed27ddd Update .yml files 2022-06-21 17:06:42 +03:00
Peter Dimov
21de045f39 Remove extra semicolons in tests 2022-06-21 16:34:26 +03:00
Peter Dimov
4b65c35009 Remove extra semicolon in modifiers.hpp 2022-06-21 16:28:22 +03:00
Peter Dimov
574c1736a3 Merge pull request #28 from ecatmur/nested-poison
Poison BOOST_DESCRIBE_ENUM in class scope
boost-1.79.0.beta1 boost-1.79.0
2022-02-19 03:46:58 +02:00
Peter Dimov
c0fd54e1f7 Update documentation and README 2022-02-19 03:17:58 +02:00
Peter Dimov
2a50e32645 Add CMake jobs to ci.yml 2022-02-19 02:50:35 +02:00
Peter Dimov
71c9a5100e Update fmtlib examples 2022-02-14 06:48:59 +02:00
Peter Dimov
1614c16be7 Update ci.yml 2022-02-13 03:35:13 +02:00
Peter Dimov
dd950f77fe Use [listing] for sample outputs 2022-02-13 03:07:58 +02:00
Peter Dimov
0be3b2833d Add sample outputs to examples 2022-02-13 01:55:11 +02:00
Peter Dimov
3ac03da76f Added example/fmtlib_enum_formatter.cpp 2022-02-13 01:36:39 +02:00
Peter Dimov
0eb2c9eb25 Rename fmtlib_formatter.cpp to fmtlib_class_formatter.cpp 2022-02-13 01:30:22 +02:00
Peter Dimov
4ccae397a7 Update revision history 2022-02-02 20:47:02 +02:00
Peter Dimov
dae1e8246a Add printing member pointers example 2022-02-02 20:40:01 +02:00
Peter Dimov
8d10118745 Add fmtlib formatter example 2022-02-01 06:22:24 +02:00
Peter Dimov
74089b76c3 Update appveyor.yml 2021-12-22 06:57:16 +02:00
Ed Catmur
d64c9fb141 Create nested_enum_fail.cpp 2021-12-21 17:11:43 +00:00
Ed Catmur
abc8b0236d Create enum_nested_fail.cpp 2021-12-21 17:11:19 +00:00
Ed Catmur
dd76e316d3 Update Jamfile 2021-12-21 17:08:53 +00:00
Ed Catmur
acf2e56c34 Poison BOOST_DESCRIBE_ENUM in class scope
try to inform the user that they should use BOOST_DESCRIBE_NESTED_ENUM instead
2021-12-21 17:07:14 +00:00
Peter Dimov
811003ea0c g++ 4.8 doesn't like static union members either 2021-12-15 03:40:34 +02:00