Aron XML: Cannot name template argument `T`
template<class WriterT>
static typename WriterT::ReturnType writeType(WriterT& aron_w, std::vector<std::string> aron_tmpls = {}, armarx::aron::type::Maybe aron_maybeType = armarx::aron::type::Maybe::eNone, const armarx::aron::Path& aron_p = armarx::aron::Path())
{
using T [[maybe_unused]] = typename WriterT::ReturnType;
Because the type variable is called T
here, you cannot name your template argument T
in XML, although T
might be the most common choice for a template argument.
FYI @fratty