mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Added support for non-name template arguments. This fixes #696
This commit is contained in:
@@ -25,6 +25,9 @@ def test_type_definitions():
|
||||
rv = parse('member_object', ' const std::string & name leftover')
|
||||
assert unicode(rv) == 'const std::string& name'
|
||||
|
||||
x = 'void operator()(const boost::array<VertexID, 2>& v) const'
|
||||
assert unicode(parse('function', x)) == x
|
||||
|
||||
rv = parse('member_object', 'const std::vector< unsigned int, long> &name')
|
||||
assert unicode(rv) == 'const std::vector<unsigned int, long>& name'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user