Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 C++: Incorrect autocomplete of std::function param

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
dave_lf Posted - Jul 31 2013 : 10:04:33 AM
Declare a function like so:

void f( std::function<void( int )> p1, int p2 );

Now start typing the definition. Hit tab after the open paren to trigger autocomplete. You'll get this:

void someFunc(std::function<void

and nothing else.
4   L A T E S T    R E P L I E S    (Newest First)
support Posted - Sep 25 2013 : 4:35:44 PM
case=1248 is fixed in build 2001.
feline Posted - Jul 31 2013 : 4:24:10 PM
I did not even notice the typo in the original post You conveyed the problem you were seeing very clearly, so I was focussing on that. I am glad I did not miss anything to important.
dave_lf Posted - Jul 31 2013 : 2:24:38 PM
Thanks. I should point out that in my original post, the fact that the function name was "f" in the first example and "someFunc" in the second was just a typo on my part.
feline Posted - Jul 31 2013 : 2:07:42 PM
I am seeing the same effect here. Thank you for the clear description.

case=1248

If you use Create Implementation instead then the parameters are all handled correctly:

http://www.wholetomato.com/products/features/createImplementation.asp

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