stopped relying on __STDCPP_DEFAULT_NEW_ALIGNMENT__ for now

This commit is contained in:
joaquintides
2022-10-03 18:49:24 +02:00
parent 621b5b4ec1
commit d370ae1095

View File

@ -815,7 +815,7 @@ struct subaligned_table_arrays:
template<typename Value,typename Group,typename SizePolicy>
using table_arrays=typename std::conditional<
#if defined(__STDCPP_DEFAULT_NEW_ALIGNMENT__)
#if 0&&defined(__STDCPP_DEFAULT_NEW_ALIGNMENT__)
sizeof(Group)<=__STDCPP_DEFAULT_NEW_ALIGNMENT__,
#else
sizeof(Group)<=alignof(std::max_align_t),