mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add comment on trailing return type with decltype that is used for detecting existence of setUseFixedOrder member function
This commit is contained in:
parent
b99252e2b8
commit
5d8fefca33
@ -255,6 +255,7 @@ protected:
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// trailing return type with decltype used for detecting existence of setUseFixedOrder member function by overloading the setUseFixedOrder function
|
||||||
template <typename C>
|
template <typename C>
|
||||||
auto setUseFixedOrder(C criterion, bool booleanValue) -> decltype(criterion.setUseFixedOrder(booleanValue))
|
auto setUseFixedOrder(C criterion, bool booleanValue) -> decltype(criterion.setUseFixedOrder(booleanValue))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user