Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Move To Source File .. namespace

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
EssenceMeh Posted - Mar 06 2014 : 06:25:52 AM
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 ..

2   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Feb 02 2016 : 7:56:12 PM
case=1247 is fixed in build 2089.
accord Posted - Mar 06 2014 : 11:29:02 AM
Thank you for the very clear (and funny ) sample code:

case=1247

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