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 |