stl: std::std::is_final_v

This commit is contained in:
skypjack
2026-04-08 09:50:09 +02:00
parent a75a608d0c
commit b75a7191f8
2 changed files with 2 additions and 1 deletions

View File

@@ -690,7 +690,7 @@ inline constexpr bool is_iterator_v = is_iterator<Type>::value;
* @tparam Type The type to test
*/
template<typename Type>
struct is_ebco_eligible: stl::bool_constant<stl::is_empty_v<Type> && !std::is_final_v<Type>> {};
struct is_ebco_eligible: stl::bool_constant<stl::is_empty_v<Type> && !stl::is_final_v<Type>> {};
/**
* @brief Helper variable template.

View File

@@ -23,6 +23,7 @@ using std::is_copy_constructible_v;
using std::is_default_constructible_v;
using std::is_empty_v;
using std::is_enum_v;
using std::is_final_v;
using std::is_function_v;
using std::is_invocable;
using std::is_invocable_r;