After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 672372 - c++11 template alias support lacking
c++11 template alias support lacking
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
: 677813 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-03-19 03:50 UTC by bkoz
Modified: 2012-11-18 11:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description bkoz 2012-03-19 03:50:58 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.
Comment 1 Dimitri van Heesch 2012-06-10 14:24:36 UTC
*** Bug 677813 has been marked as a duplicate of this bug. ***
Comment 2 Dimitri van Heesch 2012-07-17 13:18:23 UTC
Confirmed. I'll add support for template aliases in the next subversion update.
Comment 3 Dimitri van Heesch 2012-08-11 13:18:24 UTC
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.
Comment 4 bkoz 2012-10-01 23:38:35 UTC
confirmed fixed, thanks