ENH: upgrade to use some C++17 constructs
- 'if constexpr (...)' * instead of std::enable_if * terminate template recursion * compile-time elimination of code - use C++14 '_t', '_v' versions, eg, std::is_integral_v<T> instead of std::is_integral<T>::value - std::begin, std::end, std::void_t instead of prev stdFoam versions - provide is_contiguous_v<..> as short form of is_contiguous<..>::value with the additional benefit of removing any cv qualifiers. ENH: include is_rotational_vectorspace trait - tests for vector-space and nComponents > 1 (ie, not sphericalTensor) ENH: improve robustness of pTraits_.. tests by removing cv qualifiers
Showing
- applications/test/DiagTensor/Test-DiagTensor.C 42 additions, 59 deletionsapplications/test/DiagTensor/Test-DiagTensor.C
- applications/test/Dictionary/Test-Dictionary.C 1 addition, 1 deletionapplications/test/Dictionary/Test-Dictionary.C
- applications/test/FixedList/Test-FixedList.C 3 additions, 4 deletionsapplications/test/FixedList/Test-FixedList.C
- applications/test/Hashing1/HashFunction.H 39 additions, 76 deletionsapplications/test/Hashing1/HashFunction.H
- applications/test/Hashing2/Test-Hashing2.C 9 additions, 9 deletionsapplications/test/Hashing2/Test-Hashing2.C
- applications/test/IOField/Test-IOField.cxx 2 additions, 3 deletionsapplications/test/IOField/Test-IOField.cxx
- applications/test/IOobject-type/Test-IOobject-type.cxx 1 addition, 1 deletionapplications/test/IOobject-type/Test-IOobject-type.cxx
- applications/test/List/Test-List.C 2 additions, 2 deletionsapplications/test/List/Test-List.C
- applications/test/MathFunctions/Test-MathFunctions.C 10 additions, 11 deletionsapplications/test/MathFunctions/Test-MathFunctions.C
- applications/test/SphericalTensor/Test-SphericalTensor.C 43 additions, 60 deletionsapplications/test/SphericalTensor/Test-SphericalTensor.C
- applications/test/SphericalTensor2D/Test-SphericalTensor2D.C 41 additions, 58 deletionsapplications/test/SphericalTensor2D/Test-SphericalTensor2D.C
- applications/test/SymmTensor/Test-SymmTensor.C 45 additions, 62 deletionsapplications/test/SymmTensor/Test-SymmTensor.C
- applications/test/SymmTensor2D/Test-SymmTensor2D.C 42 additions, 59 deletionsapplications/test/SymmTensor2D/Test-SymmTensor2D.C
- applications/test/Tensor/Test-Tensor.C 42 additions, 59 deletionsapplications/test/Tensor/Test-Tensor.C
- applications/test/Tensor2D/Test-Tensor2D.C 44 additions, 60 deletionsapplications/test/Tensor2D/Test-Tensor2D.C
- applications/test/TestTools/TestTools.H 48 additions, 135 deletionsapplications/test/TestTools/TestTools.H
- applications/test/boolVector/Test-boolVector.C 2 additions, 2 deletionsapplications/test/boolVector/Test-boolVector.C
- applications/test/contiguous/Test-contiguous.C 7 additions, 5 deletionsapplications/test/contiguous/Test-contiguous.C
- applications/test/exprValue1/Test-exprValue1.cxx 2 additions, 2 deletionsapplications/test/exprValue1/Test-exprValue1.cxx
- applications/test/extendedStencil/Make/options 2 additions, 1 deletionapplications/test/extendedStencil/Make/options
Please register or sign in to comment