FitzyDog
Senior Member
25 Posts |
Posted - Jul 24 2015 : 04:10:37 AM
|
Here is an example:
struct ShowMe { int a; float b; }; template<class T> void apply_show(T op) { op(ShowMe()); } void TestShowMe() { apply_show([](auto var) { var. //<-intellisense isn't showing anything, but there is enough information here for it to know that var has memebers a & b; }); }
The type being passed into the generic lambda is always the same here, so it should be possible to show information about that type. No suggestions or completion for generic lambda is very..
:(
:(
:(
Thanks! |
|