diff --git a/slides/01-cpp.html b/slides/01-cpp.html index f320a8bdc..412cbb562 100644 --- a/slides/01-cpp.html +++ b/slides/01-cpp.html @@ -1423,7 +1423,9 @@

swap()

``` - Use when formal parameter should be *able to change the value* of the actual argument - This is when references are used (and for return values); nobody bothers to declare one inside method - + +Difference between passing by reference vs value +