From 97fc4fcd50272dab1d2c6e94019502d42deb4a2c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 14 Jan 2024 19:49:15 +0100 Subject: a --- serialize/packbits.hpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'serialize/packbits.hpp') diff --git a/serialize/packbits.hpp b/serialize/packbits.hpp index 527b7676..c94f96d7 100644 --- a/serialize/packbits.hpp +++ b/serialize/packbits.hpp @@ -11,24 +11,7 @@ template struct Bits_; namespace floormat::detail_Pack { using namespace floormat::Pack; -template struct check_size_overflow; -template -struct check_size_overflow, Xs...> -{ - static_assert(std::is_same_v); - static constexpr auto acc = Sum + size_t{N}; - using next_check = check_size_overflow; - static constexpr auto size = next_check::size; - static constexpr bool result = next_check::result; -}; - -template -struct check_size_overflow -{ - static constexpr size_t size = Sum; - static constexpr bool result = Sum <= sizeof(T)*8; -}; template struct Storage -- cgit v1.2.3