From: SourceForge.net <no...@so...> - 2007-08-22 14:37:17
|
Bugs item #1779304, was opened at 2007-08-22 05:58 Message generated for change (Comment added) made by jlcherry You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=1779304&group_id=1645 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: code generation (general) Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: William Fulton (wsfulton) Assigned to: David M. Beazley (beazley) Summary: Nested templated class generates outer class with wrong name Initial Comment: %inline %{ class SortedContainerAlgorithms { public: enum ETruncationBehaviour { eSimplyTruncate = 1, eAccumulate = 2, eMoveNextForward = 3 }; void foo() {} template<class SortedContainer, class TruncationValueType> struct DefaultAccumulator { }; }; %} No SortedContainerAlgorithms class is generated. Instead a DefaultAccumulator class is generated with the contents of SortedContainerAlgorithms. ---------------------------------------------------------------------- Comment By: Josh Cherry (jlcherry) Date: 2007-08-22 10:37 Message: Logged In: YES user_id=957678 Originator: NO I imagine that this is related to 1514681. The differences might reflect different target languages (I was wrapping for Python) or SWIG versions (1.3.26-ish for me). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=1779304&group_id=1645 |