mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-14 19:41:29 +07:00
move clang-tidy configs to .clangd file
This commit is contained in:
@@ -149,7 +149,7 @@ namespace meta_hpp::detail
|
||||
assert(!dst); // NOLINT
|
||||
|
||||
static_assert(sizeof(Fp) <= sizeof(buffer_t));
|
||||
static_assert(alignof(Fp) <= alignof(buffer_t));
|
||||
static_assert(alignof(buffer_t) % alignof(Fp) == 0);
|
||||
static_assert(std::is_invocable_r_v<R, Fp, Args...>);
|
||||
static_assert(std::is_nothrow_move_constructible_v<Fp>);
|
||||
|
||||
|
||||
@@ -70,8 +70,8 @@ namespace meta_hpp
|
||||
assert(!dst); // NOLINT
|
||||
|
||||
constexpr bool in_buffer =
|
||||
sizeof(Tp) <= sizeof(buffer_t) &&
|
||||
alignof(Tp) <= alignof(buffer_t) &&
|
||||
(sizeof(Tp) <= sizeof(buffer_t)) &&
|
||||
(alignof(buffer_t) % alignof(Tp) == 0) &&
|
||||
std::is_nothrow_move_constructible_v<Tp>;
|
||||
|
||||
if constexpr ( in_buffer ) {
|
||||
|
||||
Reference in New Issue
Block a user