Doxygen 1.8.11 is choking on the following definition, which I simplified as much as I could without losing the warning message:
template <class T>
struct MySpecialization<T, void_t<decltype(std::declval<T>().foo(
std::declval<double>()))>> : std::true_type {};
The warning is:
warning: Found ';' while parsing initializer list! (doxygen could be confused by a macro call without semicolon)
Interestingly, Doxygen is fine with the following:
template <class T>
struct MySpecialization<T, void_t<decltype(std::declval<T>().foo())>> : std::true_type {};
which is basically the same definition without an argument to foo
.
I would very much appreciate a workaround. In the worst case, I would like to somehow cause Doxygen to ignore this definition.