I have some class C with const and non-const getters for some generic type Node:
C
const
Node
template
I would recommend the:
template auto AliasGetNode(CType& cobject) -> decltype(cobject.getNode(0)) { return cobject.getNode(0); }
This should fairly work since c++11