#include <boost/describe.hpp>
namespace {
BOOST_DEFINE_ENUM(E, A);
class S { BOOST_DESCRIBE_CLASS(S, (), (), (), ()); };
}
using namespace boost::describe;
using D = describe_enumerators<E>;
using B = describe_bases<S, mod_any_access>;
using M = describe_members<S, mod_any_access>;
It looks like these can be suppressed with [[maybe_unused]]; I'll submit a PR.
If I describe an enum or class in an unnamed namespace, clang emits warnings, either (if the descriptor is not used)
or, if the descriptor is used:
Example: https://godbolt.org/z/qPrdcT5KG
It looks like these can be suppressed with [[maybe_unused]]; I'll submit a PR.