diff options
-rw-r--r-- | testing/072/072__using_8cpp.xml | 32 | ||||
-rw-r--r-- | testing/072_using.cpp | 7 | ||||
-rw-r--r-- | testing/073/073__typed__enum_8cpp.xml | 25 | ||||
-rw-r--r-- | testing/073_typed_enum.cpp | 7 |
4 files changed, 71 insertions, 0 deletions
diff --git a/testing/072/072__using_8cpp.xml b/testing/072/072__using_8cpp.xml new file mode 100644 index 0000000..e368966 --- /dev/null +++ b/testing/072/072__using_8cpp.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version=""> + <compounddef id="072__using_8cpp" kind="file" language="C++"> + <compoundname>072_using.cpp</compoundname> + <sectiondef kind="typedef"> + <memberdef kind="typedef" id="072__using_8cpp_1a1b01c504448c96cd2191a5184dd31acf" prot="public" static="no"> + <templateparamlist> + <param> + <type>class T</type> + </param> + </templateparamlist> + <type>std::vector< T ></type> + <definition>using Vec = std::vector<T></definition> + <argsstring/> + <name>Vec</name> + <briefdescription> + <para>A vector. </para> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="072_using.cpp" line="7" column="1" bodyfile="072_using.cpp" bodystart="7" bodyend="-1"/> + </memberdef> + </sectiondef> + <briefdescription> + </briefdescription> + <detaileddescription> + </detaileddescription> + <location file="072_using.cpp"/> + </compounddef> +</doxygen> diff --git a/testing/072_using.cpp b/testing/072_using.cpp new file mode 100644 index 0000000..ca02902 --- /dev/null +++ b/testing/072_using.cpp @@ -0,0 +1,7 @@ +// objective: test template parameters for a type alias +// check: 072__using_8cpp.xml + +/** \file */ + +/** @brief A vector */ +template<class T> using Vec = std::vector<T>; diff --git a/testing/073/073__typed__enum_8cpp.xml b/testing/073/073__typed__enum_8cpp.xml new file mode 100644 index 0000000..9dda417 --- /dev/null +++ b/testing/073/073__typed__enum_8cpp.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version=""> + <compounddef id="073__typed__enum_8cpp" kind="file" language="C++"> + <compoundname>073_typed_enum.cpp</compoundname> + <sectiondef kind="enum"> + <memberdef kind="enum" id="073__typed__enum_8cpp_1aa72902e6181db009a6a84502f81612c2" prot="public" static="no" strong="yes"> + <type>unsigned short</type> + <name>E</name> + <briefdescription> + <para>A strongly-typed enum. </para> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="073_typed_enum.cpp" line="7" column="1" bodyfile="073_typed_enum.cpp" bodystart="7" bodyend="7"/> + </memberdef> + </sectiondef> + <briefdescription> + </briefdescription> + <detaileddescription> + </detaileddescription> + <location file="073_typed_enum.cpp"/> + </compounddef> +</doxygen> diff --git a/testing/073_typed_enum.cpp b/testing/073_typed_enum.cpp new file mode 100644 index 0000000..0818463 --- /dev/null +++ b/testing/073_typed_enum.cpp @@ -0,0 +1,7 @@ +// objective: test underlying type and strongness for an enum +// check: 073__typed__enum_8cpp.xml + +/** \file */ + +/** @brief A strongly-typed enum */ +enum class E: unsigned short {}; |