fails to parse C+11 "static constexpr" declarations
Sphinx fails to parse C++11 "static constexpr" declarations. For example when parsing this:
.. default-domain:: cpp .. function:: static constexpr bool foo() bar
I get the following warning:
WARNING: Invalid definition: expected parentheses for function [error at 22] static constexpr bool foo()
This bug was originally reported in the Debian BTS: http://bugs.debian.org/693066
I attached patch that the original reporter included; I didn't review it however, as I'm not familiar with this part of the code.