GNOME Bugzilla – Bug 672372
c++11 template alias support lacking
Last modified: 2012-11-18 11:12:43 UTC
use of c++11 template aliases is not showing up in doxygen output. For: +#ifdef __GXX_EXPERIMENTAL_CXX0X__ +namespace std +{ + /** + * @brief An alias to the base class for std::allocator. + * @ingroup allocators + * + * Used to set the std::allocator base class to + * __gnu_cxx::__mt_alloc. + * + * @tparam _Tp Type of allocated object. + */ + template<typename _Tp> + using __allocator_base = __gnu_cxx::__mt_alloc<_Tp>; +} +#else +// Define __mt_alloc as the base class to std::allocator. +# define __allocator_base __gnu_cxx::__mt_alloc +#endif /** * @brief The @a standard allocator, as per [20.4]. * * See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt04ch11.html * for further details. */ namespace std { template<typename _Tp> class allocator: public __allocator_base<_Tp> { ... as the input source, expecting __allocator_base showing up as base class in std::allocator class documentation. But the using sytax for C++11 template aliases is not recognized.
*** Bug 677813 has been marked as a duplicate of this bug. ***
Confirmed. I'll add support for template aliases in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.2. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant.
confirmed fixed, thanks