You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where does the macro come from. Computation of tokens wrong? .cpp file is ok
starting from the last member to the top works. seems to be special interaction between toggling the first member left in the .cpp file and somehow spuriously picking up the include gaurd macro name.
Cevelop Version, Operating System and Compiler
Cevelop C++ IDE
Version: 1.12.1-201907081203
The text was updated successfully, but these errors were encountered:
On Thu, Sep 12, 2019, 10:12 Peter Sommerlad ***@***.***> wrote:
Expected Behavior
#ifndef SRC_NAUGHTY_H_
#define SRC_NAUGHTY_H_
class Naughty {
public:
Naughty() {
// TODO Auto-generated constructor stub
}
virtual ~Naughty() {
// TODO Auto-generated destructor stub
}
Naughty(Naughty const &other) {
// TODO Auto-generated constructor stub
}
Naughty(Naughty &&other) {
// TODO Auto-generated constructor stub
}
Naughty& operator=(const Naughty &other); // TOGGLE FUNCTION DEFINITION
Naughty& operator=(Naughty &&other);
};
#endif /* SRC_NAUGHTY_H_ */
.cpp file
#include "Naughty.h"
Naughty& Naughty::operator=(const Naughty &other) {
// TODO Auto-generated method stub
}
Naughty& Naughty::operator=(Naughty &&other) {
// TODO Auto-generated method stub
}
should just work...
Actual Behavior
#ifndef SRC_NAUGHTY_H_
#define SRC_NAUGHTY_H_
class Naughty {
public:
Naughty() {
// TODO Auto-generated constructor stub
}
virtual ~Naughty() {
// TODO Auto-generated destructor stub
}
Naughty(Naughty const &other) {
// TODO Auto-generated constructor stub
}
Naughty(Naughty &&other) {
// TODO Auto-generated constructor stub
}
SRC_NAUGHTY_H_ Naughty& operator =(Naughty const &other) {
// TODO Auto-generated method stub
}
Naughty& operator=(Naughty &&other);
};
#endif /* SRC_NAUGHTY_H_ */
Where does the macro come from. Computation of tokens wrong? .cpp file is
ok
starting from the last member to the top works. seems to be special
interaction between toggling the first member left in the .cpp file and
somehow spuriously picking up the include gaurd macro name.
Cevelop Version, Operating System and Compiler
Cevelop C++ IDE
Version: 1.12.1-201907081203
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
</~https://github.com/Cevelop/Issues/issues/110?email_source=notifications&email_token=AA2JYQLAFEKFYIU7DOYBBVTQJH2VTA5CNFSM4IWAT54KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HK5JCAA>,
or mute the thread
</~https://github.com/notifications/unsubscribe-auth/AA2JYQNPFQ7OTGUTQWQNX23QJH2VTANCNFSM4IWAT54A>
.
Expected Behavior
.cpp file
should just work...
Actual Behavior
Where does the macro come from. Computation of tokens wrong? .cpp file is ok
starting from the last member to the top works. seems to be special interaction between toggling the first member left in the .cpp file and somehow spuriously picking up the include gaurd macro name.
Cevelop Version, Operating System and Compiler
Cevelop C++ IDE
Version: 1.12.1-201907081203
The text was updated successfully, but these errors were encountered: