From dfc72f6d44e59a74271087c2f17ff2d8b8946c24 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 22 Jul 2012 07:17:55 +0000 Subject: [PATCH] Boostbook: Fix `methodname` for `operator()`. [SVN r79657] --- test/more/tests/ref/methodname.gold | 26 +++++++++++++++++++++ test/more/tests/ref/methodname.xml | 36 +++++++++++++++++++++++++++++ xsl/annotation.xsl | 4 ++++ 3 files changed, 66 insertions(+) create mode 100644 test/more/tests/ref/methodname.gold create mode 100644 test/more/tests/ref/methodname.xml diff --git a/test/more/tests/ref/methodname.gold b/test/more/tests/ref/methodname.gold new file mode 100644 index 0000000..51cb112 --- /dev/null +++ b/test/more/tests/ref/methodname.gold @@ -0,0 +1,26 @@ + + + Methodname Test + +
Reference +
Header <<ulink url="../../boost/unordered_set.hpp">boost/unordered_set.hpp</ulink>>namespace thing { + class foo; +} + Class foo3thing::foo// In header: <boost/unordered_set.hpp> + + +class foo { +public: + void bar(int); + void operator()(int); +};Descriptionvoid bar(int);void operator()(int); +
+
+
\ No newline at end of file diff --git a/test/more/tests/ref/methodname.xml b/test/more/tests/ref/methodname.xml new file mode 100644 index 0000000..337a3ff --- /dev/null +++ b/test/more/tests/ref/methodname.xml @@ -0,0 +1,36 @@ + + + Methodname Test + + +
+ + + + + int + + void + + + + int + + void + + + +
+
+
\ No newline at end of file diff --git a/xsl/annotation.xsl b/xsl/annotation.xsl index ff847d3..6f2a1d0 100644 --- a/xsl/annotation.xsl +++ b/xsl/annotation.xsl @@ -116,6 +116,10 @@ + + + +