diff --git a/libs/MeshKernel/include/MeshKernel/Definitions.hpp b/libs/MeshKernel/include/MeshKernel/Definitions.hpp index e351d09b8..d6cade34f 100644 --- a/libs/MeshKernel/include/MeshKernel/Definitions.hpp +++ b/libs/MeshKernel/include/MeshKernel/Definitions.hpp @@ -116,26 +116,26 @@ namespace meshkernel /// @brief The concept specifies that the array type must have an access operator returning the array element type or can be converted to one template concept ArrayConstAccessConcept = requires(const ArrayType& array, const size_t i) { - { - array[i] - } -> std::convertible_to; - }; + { + array[i] + } -> std::convertible_to; + }; /// @brief The concept specifies that the array type must have an access operator returning a reference to the array element type template concept ArrayNonConstAccessConcept = requires(ArrayType& array, const size_t i) { - { - array[i] - } -> std::same_as; - }; + { + array[i] + } -> std::same_as; + }; /// @brief A concept that specifies that the array must have a size function return the number of elements in the array template concept ArraySizeConcept = requires(const ArrayType& array) { - { - array.size() - } -> std::same_as; - }; + { + array.size() + } -> std::same_as; + }; /// @brief A concept that specifies that the array must have a begin and end function. /// @@ -144,13 +144,13 @@ namespace meshkernel /// std::same_as template concept ArrayConstIteratorsConcept = requires(const ArrayType& array) { - { - array.begin() - }; - { - array.end() - }; - }; + { + array.begin() + }; + { + array.end() + }; + }; /// @brief A concept that specifies that the array must have a begin and end function. /// @@ -159,13 +159,13 @@ namespace meshkernel /// std::same_as template concept ArrayNonConstIteratorsConcept = requires(ArrayType& array) { - { - array.begin() - } -> std::same_as; - { - array.end() - } -> std::same_as; - }; + { + array.begin() + } -> std::same_as; + { + array.end() + } -> std::same_as; + }; /// @brief A concept that specifies all the functionality required to be usable as a constant array of doubles. template