Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Commit 7c00b26

Browse files
committed
improve doc
1 parent 9468d8d commit 7c00b26

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

examples/synopsis.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ define_method(std::string, meet, (Animal&, Animal&)) {
4242
return "ignore";
4343
}
4444

45-
define_method(std::string, meet, (Dog & dog1, Dog& dog2)) {
45+
define_method(std::string, meet, (Dog& dog1, Dog& dog2)) {
4646
return "wag tail";
4747
}
4848

49-
define_method(std::string, meet, (Dog & dog, Cat& cat)) {
49+
define_method(std::string, meet, (Dog& dog, Cat& cat)) {
5050
return "chase";
5151
}
5252

53-
define_method(std::string, meet, (Cat & cat, Dog& dog)) {
53+
define_method(std::string, meet, (Cat& cat, Dog& dog)) {
5454
return "run";
5555
}
5656

reference.in/method_call_error.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ method_call_error_handler set_method_call_error_handler(
1818
method_call_error_handler handler);
1919
```
2020
---
21-
This mechanism is *deprecated*. Please use the new [error handler
21+
This mechanism is **deprecated**. Please use the new [error handler
2222
mechanism](set_error_handler.md) instead.
2323

2424
If a method call cannot be dispatched, an error handler is called with a

reference/method_call_error.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ method_call_error_handler set_method_call_error_handler(
1818
method_call_error_handler handler);
1919
```
2020
---
21-
This mechanism is *deprecated*. Please use the new [error handler
21+
This mechanism is **deprecated**. Please use the new [error handler
2222
mechanism](set_error_handler.md) instead.
2323

2424
If a method call cannot be dispatched, an error handler is called with a

0 commit comments

Comments
 (0)