Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 C++: Adding parantheses to function pointers

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
Frunobulax Posted - Oct 14 2007 : 05:49:15 AM
Hi,

I would like VAX to not add parantheses if I want to pass a function object. Thus, when typing

boost::bind(&MyClass::myFunction, [...])

VAX should no longer try to add paranthesis after myFunction.

Version is 1609.

Regards, Thomas
7   L A T E S T    R E P L I E S    (Newest First)
support Posted - Aug 22 2009 : 7:19:05 PM
There was an additional problem with case=7802 when namespaces were present. This is fixed in build 1731.
sean Posted - Jun 16 2009 : 4:32:20 PM
We have reopened case=7802. Thanks for the sample code.
tandr Posted - Jun 15 2009 : 4:12:59 PM
I still have the same problem with func pointers. Or there is some checkbox that I need to toggle in order to make it work?


#include <string>
#include <boost/bind.hpp>
#include <boost/function.hpp>

namespace a { namespace b { namespace c { 
   std::string function_abc(int i1, int i2);
}}}

void func2()
{
    boost::function<void()> f = boost::bind(&a::b::c::function_abc(|)
}



bold part got inserted if by VAX if you choose function_abc from suggestions


VA_X.dll file version 10.5.1727.0 built 2009.06.12
Licensed to:
VA X: [email protected] (1-user license) Support ends 2010.02.04
DevEnv.exe version 9.0.30729.1
msenv.dll version 9.0.30729.1
Font: Consolas 11(Pixels)
Comctl32.dll version 6.0.2900.5512
Windows XP 5.1 Build 2600 S
2 processors (x86)

Platform: Win32
Stable Includes:
D:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\include;
D:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\include;
D:\\Program Files\\Microsoft SDKs\\Windows\\v6.1\\include;
D:\\Program Files\\Microsoft SDKs\\Windows\\v6.1\\include;
E:\\svn\\repos\\3rd\\boost\\tags\\Boost_1_39_0;

Other Includes:

Stable Source Directories:
D:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfc;
D:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfcm;
D:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\atl;
D:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\crt\\src;

sean Posted - Jun 12 2009 : 9:03:20 PM
case=7802 is fixed in build 1727
feline Posted - Oct 17 2007 : 07:46:06 AM
This should help a little bit:

http://docs.wholetomato.com?W318

Most bugs get reported on the forum sooner or later, so searching the forum is a good way to start.
Frunobulax Posted - Oct 16 2007 : 06:22:49 AM
quote:
Originally posted by feline

We are considering doing this:

case=7802



Ah, I see. Good.

Stupid question: Where can I see the open cases? I usually try to check open bugs before reporting something, but couldn't find a public bug tracker.

Regards, Thomas
feline Posted - Oct 15 2007 : 12:31:20 PM
We are considering doing this:

case=7802

See here for the original discussion about this.

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=6465

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