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
 Move To Source File .. namespace
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

EssenceMeh
New Member

3 Posts

Posted - Mar 06 2014 :  06:25:52 AM  Show Profile  Reply with Quote
namespace of return type is not quoted.

e.g.

namespace toys
{
    class CJack {};
    class CBox
    {
        public:
            const CJack &GetJackInBox() const
            {
                return Jack;
            }
    private:
        CJack Jack;
    };
}


is moved to source file as


const CJack & toys::CBox::GetJackInBox() const
{
    return Jack;
}


not


const toys::CJack ..

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Mar 06 2014 :  11:29:02 AM  Show Profile  Reply with Quote
Thank you for the very clear (and funny ) sample code:

case=1247
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Feb 02 2016 :  7:56:12 PM  Show Profile  Reply with Quote
case=1247 is fixed in build 2089.
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