[Github-comments] [geany] CPP suggest and highlight methods from STL (#876)

Matthew Brush notifications at xxxxx
Thu Jan 21 02:01:23 UTC 2016


> Geany does not parse non-global declarations in any language. 

[citation needed]

```c++

struct Foo {
  void some_func() {}
};

struct Bar {
  Foo myfoo;
  void blah() {
    myfoo. <<--- offers non-global Foo::some_func() as completion
  }
};
```

It should work for `std::vector` member functions too if it had tags, but indeed I doubt it can have any clue what to do with the return value from the overloaded `operator[]` on vector, like the `first` member variable of the resulting `std::pair` reference or whatever. 

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/876#issuecomment-173427147
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160120/c917227a/attachment.html>


More information about the Github-comments mailing list