This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 141263 - Template parameter usage in an inner class of a template class is unresolved
Summary: Template parameter usage in an inner class of a template class is unresolved
Status: VERIFIED DUPLICATE of bug 144881
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Leonid Lenyashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 06:39 UTC by Vladimir Kvashin
Modified: 2008-09-24 14:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2008-07-23 06:39:40 UTC
In the following code (taken from stl_vector.h>),
_Tp in _Vector_base is unresolved.

template<typename _Tp, typename _Alloc>
    struct _Vector_base
    {
      struct _Vector_impl 
	: public _Alloc {
	_Tp*           _M_start;
	_Tp*           _M_finish;
	_Tp*           _M_end_of_storage;
	_Vector_impl (_Alloc const& __a)
	  : _Alloc(__a), _M_start(0), _M_finish(0), _M_end_of_storage(0)
	{ }
      };
  };
Comment 1 Vladimir Kvashin 2008-07-23 06:40:20 UTC
The simplified example is:

template<class T> class TemplateOuterClass {
    class Inner {
        T field;
    };
};
Comment 2 Alexey Vladykin 2008-08-26 07:25:09 UTC

*** This issue has been marked as a duplicate of 144881 ***
Comment 3 Alexander Ioffe 2008-09-24 14:21:57 UTC
Verified