On Wed, 24 Oct 2012 11:56:49 +0200 Colomban Wendling <lists....@herbesfolles.org> wrote:
> Le 23/10/2012 04:58, Lex Trotman a écrit : > > OOps previous post sent before completion. > > > > Ok, I did say being picky, but it affects autocomplete. In C++11 you > > can delete inherited functions (at least the special member functions, > > and I think any one) using a function declaration = delete; syntax. > > These functions are unavailable and shouldn't be in autocomplete, but > > because they look like declarations, at the moment, they are in the > > symbols looking like normal functions and they are in autocomplete. > > OK, so any "= delete" declaration should simply be ignored? class A { foo(); }; class B : public A { foo() = delete; }; class C : public B { foo(); }; "foo()" should be suggested if you complete "fo" in objects of class A or C, but not B. In other words, "= delete" should remove the [derived] suggestion for foo(), if any. -- E-gards: Jimmy _______________________________________________ Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel