Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1548: Move Implementation again

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
diavo Posted - Mar 13 2007 : 03:49:25 AM
I found 3 more errors:
1:

class test
{
  test() throw() : a(0), b(0)
  {
  }
  int a,b;
};


Move implemenation results in a correct .cpp but leaving an incorrect .h:
class test
{
  test() throw() : a(0), b(0);
  int a,b;
};



2:
class test
{
  template<class T>
  int temp(T my)
  {
    T t;
  }
};


Results in correct .h:
class test
{
  template<class T>
  int temp(T my);
};


but incorrect .cpp
template<class T>
int test<T>::temp( T my )
{
  T t;
}


3:

template <class T>
class test
{
  template <class U>
  int my(U u)
  {
  }
};


-->correct .h
template <class T>
class test
{
  template <class U>
  int my(U u);
};


-->incorrect .cpp
template <class U>
int test<U>::my( U u )
{
}


-->correct .cpp should be
template <class T>
template <class U>
int test<T>::my( U u )
{
}
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Feb 25 2013 : 12:22:55 PM
case=2993 is fixed in build 1929
feline Posted - Mar 13 2007 : 09:48:06 AM
I am seeing the same effect here. Bug number 1 is:

case=5475

bug number 2 is:

case=2993

bug number 3 is:

case=5476

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