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

damned
New Member

Russia
9 Posts

Posted - Jun 17 2006 :  07:39:34 AM  Show Profile  Reply with Quote
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++

Edited by - damned on Jun 17 2006 09:07:52 AM

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jun 17 2006 :  3:16:24 PM  Show Profile  Reply with Quote
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

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Aug 08 2006 :  01:19:43 AM  Show Profile  Reply with Quote
Cases 1357 and 1359 are fixed in build 1531.

Edited by - support on Aug 08 2006 01:20:04 AM
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Sep 19 2006 :  01:51:41 AM  Show Profile  Reply with Quote
Case 1247 is fixed in build 1535.
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