mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 20:34:26 +02:00
refactor: std::is_trivial
will be deprecated in C++26
This commit is contained in:
@@ -48,8 +48,9 @@ template<typename T>
|
||||
concept SymbolicArg = (!std::is_const_v<T>) && (!std::is_reference_v<T>);
|
||||
|
||||
template<typename T>
|
||||
concept SymbolicConstant = SymbolicArg<T> && std::is_empty_v<T> && std::is_final_v<T> && std::is_trivial_v<T> &&
|
||||
std::is_trivially_copy_constructible_v<T> && std::is_trivially_move_constructible_v<T>;
|
||||
concept SymbolicConstant = SymbolicArg<T> && std::is_empty_v<T> && std::is_final_v<T> &&
|
||||
std::is_trivially_default_constructible_v<T> && std::is_trivially_copy_constructible_v<T> &&
|
||||
std::is_trivially_move_constructible_v<T> && std::is_trivially_destructible_v<T>;
|
||||
|
||||
/**
|
||||
* @brief Type list type used by the expression template framework
|
||||
|
Reference in New Issue
Block a user