summaryrefslogtreecommitdiffstats
path: root/testing/067_using.cpp
diff options
context:
space:
mode:
authorVladimír Vondruš <mosra@centrum.cz>2017-11-28 00:04:37 (GMT)
committerVladimír Vondruš <mosra@centrum.cz>2017-11-28 00:04:37 (GMT)
commit21f0ca0085c034a37df07c1ab690472bada0a1f1 (patch)
tree9b4a043bd50c92a56271f5d1dbeb80b6d3392942 /testing/067_using.cpp
parent4f45bd20d4da7d40c793ec4c4c13558581e995ac (diff)
downloadDoxygen-21f0ca0085c034a37df07c1ab690472bada0a1f1.zip
Doxygen-21f0ca0085c034a37df07c1ab690472bada0a1f1.tar.gz
Doxygen-21f0ca0085c034a37df07c1ab690472bada0a1f1.tar.bz2
Provide template parameters also for type aliases in the XML output.
Until now, probably due to C++03 assumptions, typedefs and type aliases skipped printing of the template parameter specifications to the XML output. That's now fixed, so the following type alias will properly contain <templateparamlist> in the XML output: template<class T> using Vec = std::vector<T>; Added also a test case that verifies this.
Diffstat (limited to 'testing/067_using.cpp')
-rw-r--r--testing/067_using.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/067_using.cpp b/testing/067_using.cpp
new file mode 100644
index 0000000..eb2f5cc
--- /dev/null
+++ b/testing/067_using.cpp
@@ -0,0 +1,7 @@
+// objective: test template parameters for a type alias
+// check: 067__using_8cpp.xml
+
+/** \file */
+
+/** @brief A vector */
+template<class T> using Vec = std::vector<T>;