Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Different behavior in constructor definition
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

arp
New Member

Germany
5 Posts

Posted - Sep 06 2010 :  02:55:18 AM  Show Profile  Reply with Quote
Hi,
I have the following problem. When I write the constructor definition with exception specification (throw()), then are red underline the base class (TestBase) and the variable (m_visible) and no intellisense worked in this context. When I remove the exception specification then is all correct.

TestClass.h

class TestClass
  : public TestBase
{
  public:
    explicit TestClass() throw();
  protected:
    bool m_visible;
}

TestClass.cpp

void TestClass::TestClass() throw()
  : TestBase()
  , m_visible(false)
{
}

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 06 2010 :  3:11:34 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=1867
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000