From 74608147c042d88a11e54b135c86c993b3ce95c0 Mon Sep 17 00:00:00 2001 From: Lisa Julia Nebel Date: Fri, 26 Jan 2024 14:27:12 +0100 Subject: [PATCH] Add comment on trailing return type with decltype that is used for detecting the existence of setUseFixedOrder member function --- opm/simulators/linalg/PreconditionerFactory_impl.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/opm/simulators/linalg/PreconditionerFactory_impl.hpp b/opm/simulators/linalg/PreconditionerFactory_impl.hpp index 81b9e64ba..7ec0b5467 100644 --- a/opm/simulators/linalg/PreconditionerFactory_impl.hpp +++ b/opm/simulators/linalg/PreconditionerFactory_impl.hpp @@ -95,6 +95,7 @@ struct AMGSmootherArgsHelper> }; +// trailing return type with decltype used for detecting existence of setUseFixedOrder member function by overloading the setUseFixedOrder function template auto setUseFixedOrder(C criterion, bool booleanValue) -> decltype(criterion.setUseFixedOrder(booleanValue)) {