Skip to content

Commit 6cca8c1

Browse files
authored
Update README.md
1 parent fc06e48 commit 6cca8c1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,8 @@ Thanks for asking. The operator `+=` is overloaded to accept a vector.
9090
``` C++
9191
delegate += { foo, bar };
9292
```
93+
At difference of C#, delegates can be **copied by value**.
94+
``` C++
95+
Delegate<int> delegate(copyMePls); // This is possible.
96+
```
9397
You can also reset or clear the delegate with `delegate.Clear()`
94-

0 commit comments

Comments
 (0)