Issue #696 resolved

cpp type parsing

Dmitriy Morozov
created an issue

Sphinx has trouble parsing C++ template types that have numeric template arguments. For example, declaring the following function within a C++ class gives a "WARNING: Invalid definition: expected name [error at 44]":


.. function:: void operator()(const boost::array<VertexID,2>& v)


while replacing it with


.. function:: void operator()(const boost::array<VertexID,D>& v)


gives no warning.

Comments (4)

  1. Log in to comment