In the library that I develop, I often have code like this:
template<typename T = P, enable_if_c<has_V_field<T>> = detail::dummy> constexpr std::size_t v(){ return T::V; } template<typename T = P, disable_if_c<has_V_field<T>> = detail::dummy> constexpr std::size_t v(){ return 1; }
The two functions perform the same thing, but are activated based on the type. I would like to document only one of them and, moreover, I would like, if possible, to show it in Doxygen without template material, like constexpr std::size_t v() . For the user, the templates here do not matter at all.
Is this possible with Doxygen?
source share