update example
This commit is contained in:
parent
b27bc04ca9
commit
744c8c8f43
1 changed files with 3 additions and 5 deletions
|
@ -40,16 +40,16 @@ struct SomeStruct {
|
|||
|
||||
void SomeMethod1(const int i) {
|
||||
somefield = i;
|
||||
std::cout << "No called!" << std::endl;
|
||||
}
|
||||
|
||||
int SomeMethod2() const {
|
||||
std::cout << "No called!" << std::endl;
|
||||
return somefield;
|
||||
}
|
||||
};
|
||||
|
||||
void SomeMethod3() { std::cout << "No called!" << std::endl; }
|
||||
void SomeMethod3() {
|
||||
std::cout << NAMEOF(SomeMethod3) << " no called!" << std::endl;
|
||||
}
|
||||
|
||||
struct Long {
|
||||
struct LL {
|
||||
|
@ -124,8 +124,6 @@ int main() {
|
|||
std::cout << e.what() << std::endl; // y should not be zero!
|
||||
}
|
||||
|
||||
std::cout << NAMEOF(main) << " method entry" << std::endl; // main method entry
|
||||
|
||||
/* Remarks */
|
||||
|
||||
// Spaces and Tabs ignored
|
||||
|
|
Loading…
Reference in a new issue