[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 110400] crash while importing
From: Chris Burghart <burghart () ucar ! edu>
Date: 2005-11-03 23:27:49
Message-ID: 20051103232749.1862.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=110400
burghart ucar edu changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burghart ucar edu
------- Additional Comments From burghart ucar edu 2005-11-04 00:27 -------
This looks like the same bug I'm seeing when trying to import a header which contains \
a template specialization. Umbrello will crash importing this simple (and legal) C++ \
fragment (condensed from the Boost library header /usr/include/boost/shared_ptr.hpp):
-------------------------------------------------
template<class T> struct shared_ptr_traits
{
typedef T & reference;
};
template<> struct shared_ptr_traits<void>
{
typedef void reference;
};
-------------------------------------------------
Umbrello's class parser just doesn't like "template<>", which opens a parameterless \
template specialization. See Stroustrup's "The C++ Programming Language", 3rd \
edition, section 13.5 for details on template specialization.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic