diff --git a/develop/singles/headers/meta.hpp/meta_all.hpp b/develop/singles/headers/meta.hpp/meta_all.hpp index 6780a14..006d96d 100644 --- a/develop/singles/headers/meta.hpp/meta_all.hpp +++ b/develop/singles/headers/meta.hpp/meta_all.hpp @@ -709,10 +709,14 @@ namespace meta_hpp::detail { template < typename R, typename... Args > struct fixed_function::vtable_t final { + // NOLINTBEGIN(*-avoid-const-or-ref-data-members) + R (*const call)(const fixed_function& self, Args... args); void (*const move)(fixed_function& from, fixed_function& to) noexcept; void (*const destroy)(fixed_function& self); + // NOLINTEND(*-avoid-const-or-ref-data-members) + template < typename T > static T* buffer_cast(buffer_t& buffer) noexcept { // NOLINTNEXTLINE(*-reinterpret-cast) @@ -1670,7 +1674,7 @@ namespace meta_hpp || std::is_same_v; // template < typename T > - concept non_uvalue_family = (!uvalue_family); + concept non_uvalue_family = !uvalue_family; } } diff --git a/headers/meta.hpp/meta_base.hpp b/headers/meta.hpp/meta_base.hpp index 940a073..0c5253b 100644 --- a/headers/meta.hpp/meta_base.hpp +++ b/headers/meta.hpp/meta_base.hpp @@ -76,7 +76,7 @@ namespace meta_hpp || std::is_same_v; // template < typename T > - concept non_uvalue_family = (!uvalue_family); + concept non_uvalue_family = !uvalue_family; } } diff --git a/headers/meta.hpp/meta_base/fixed_function.hpp b/headers/meta.hpp/meta_base/fixed_function.hpp index 47c0727..3382927 100644 --- a/headers/meta.hpp/meta_base/fixed_function.hpp +++ b/headers/meta.hpp/meta_base/fixed_function.hpp @@ -104,10 +104,14 @@ namespace meta_hpp::detail { template < typename R, typename... Args > struct fixed_function::vtable_t final { + // NOLINTBEGIN(*-avoid-const-or-ref-data-members) + R (*const call)(const fixed_function& self, Args... args); void (*const move)(fixed_function& from, fixed_function& to) noexcept; void (*const destroy)(fixed_function& self); + // NOLINTEND(*-avoid-const-or-ref-data-members) + template < typename T > static T* buffer_cast(buffer_t& buffer) noexcept { // NOLINTNEXTLINE(*-reinterpret-cast)