Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Show 'intellisense' data for generic lambda params

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
FitzyDog 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!
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Aug 02 2015 : 3:42:42 PM
I was able to reproduce the problem here. Thank you for the clear description. I have put in a bug report for this:

case=91174

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000