Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Visibility Information of Nested Classes in Index

Hi Thomas,

in the attached file try F4 for classes D ... G and you will see the difference.

bye Michi

On Friday 15 Mar 2013 07:17:00 Corbat Thomas wrote:
> Hi Michi
> 
> Currently, I can't imagine a direct correlation of the missing nested type visibility and unexpected output in the type hierarchy. But could you explain the output you are observing compared to what you are expecting? Best with an example.
> 
> Thanks
> -Thomas
> 
> 
> 
> 
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of scalpel4k
> Sent: Donnerstag, 14. März 2013 18:51
> To: cdt general developers list.
> Subject: [cdt-dev] Visibility Information of Nested Classes in Index
> 
> Hi,
> 
> I have a question with respect to the following bug:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=402878
> 
> Is the described issue there also the reason why I do not get any reasonable output from the Type Hierarchy view? In that case, I just wanted to raise the attention for that additional problem.
> 
> bye Michi
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
/*
 * test.hpp
 *
 *  Created on: 15 Mar 2013
 *      Author: michi
 */

#ifndef TEST_HPP_
#define TEST_HPP_

template<class I>
class A {

public:

	class B {

	public:

		I test();
	};

	B testInstance;

};

class C {
public:

	class B {

	public:

		int test();
	};

	B testInstance;

};

class D: public A<int>::B {

};

class E : public A<int> {

};

class F: public C::B {

};

class G : public C {

};

#endif /* TEST_HPP_ */

Back to the top