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

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
damned Posted - Jun 17 2006 : 07:39:34 AM
I have in *.h :
namespace detail {

class stat_num_t {
int stat_num;
stat_num_t(int stat_num_) : stat_num(stat_num_){}
...
stat_num_t operator++(int) { return stat_num_t(stat_num++); }
};

}

After this Refactor method on operator++ I have this in *.cpp :

stat_num_t detail::stat_num_t::++( int )
{
return stat_num_t(stat_num++);
}

without detail:: in beginning and operator before ++

and the _typename_::operator() (...params...) inserts as _typename_::() () (...params...)

also i already have in .cpp
namespace detail {
...other methods and functions;
}
and want to insert new methods into it

VaX 1522, VS 2002/2003, C++
3   L A T E S T    R E P L I E S    (Newest First)
support Posted - Sep 19 2006 : 01:51:41 AM
Case 1247 is fixed in build 1535.
support Posted - Aug 08 2006 : 01:19:43 AM
Cases 1357 and 1359 are fixed in build 1531.
feline Posted - Jun 17 2006 : 3:16:24 PM
i am seeing the same problems here.

operator++ breaking is

case=1357

now having the return type qualified by the namespace name is:

case=1247

putting the functions into the existing namespace block is:

case=1359

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