mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-29 10:21:54 -06:00
Fixes by clang-format
This commit is contained in:
parent
a522a496f8
commit
2f125806c6
@ -14,11 +14,12 @@ namespace caf
|
||||
{
|
||||
|
||||
template <typename T>
|
||||
concept Vector = requires {
|
||||
typename T::value_type; // Require the existence of value_type
|
||||
typename T::allocator_type; // Require the existence of allocator_type
|
||||
requires std::same_as<T, std::vector<typename T::value_type, typename T::allocator_type>>; // Ensure it's a vector
|
||||
};
|
||||
concept Vector =
|
||||
requires {
|
||||
typename T::value_type; // Require the existence of value_type
|
||||
typename T::allocator_type; // Require the existence of allocator_type
|
||||
requires std::same_as<T, std::vector<typename T::value_type, typename T::allocator_type>>; // Ensure it's a vector
|
||||
};
|
||||
|
||||
template <Vector T>
|
||||
bool checkIfVector()
|
||||
|
Loading…
Reference in New Issue
Block a user