diff --git a/include/nanobind/nb_class.h b/include/nanobind/nb_class.h index e1a953fa..80be9bd5 100644 --- a/include/nanobind/nb_class.h +++ b/include/nanobind/nb_class.h @@ -480,7 +480,6 @@ class class_ : public object { using Base = typename detail::extract::type; using Alias = typename detail::extract::type; - static_assert(sizeof(Alias) < (1 << 24), "Instance size is too big!"); static_assert(alignof(Alias) < (1 << 8), "Instance alignment is too big!"); static_assert( sizeof...(Ts) == !std::is_same_v + !std::is_same_v,