Re: [CEDET-devel] semantic & non-standard smart pointers
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2009-02-16 16:11:00
|
>>> Alex Ott <al...@gm...> seems to think that: >Hello all > >I have small trouble with semantic & parsing of the code, that use >non-standard smart pointers (code of smart pointer class is below). > >The problem is, that when i wrap my class into this smart pointer, like > >typedef my_smart_ptr<MyClass> MyClassPtr; > >and try to use name completion for instance of this class, i get only list >of functions from my_smart_ptr, not from MyClass [ ... ] Hi Alex: I appended the following to the end of your example: class MyClass { public: int donkey; int cow; }; typedef my_smart_ptr<MyClass> MyClassPtr; int foo () { MyClassPtr moose; moose. ; moose-> ; } If I complete after either "moose." or "moose->" , I get "cow" and "donkey". Is this your experience, or is there some other issue, like "using" or nested namespaces that might be involved? Thanks Eric -- Eric Ludlam: er...@si... Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net |