Skip to content

Commit

Permalink
Merge pull request #751 from zhoutz/master
Browse files Browse the repository at this point in the history
add a link into readme
  • Loading branch information
pezy committed Jul 7, 2020
2 parents 76c900f + aa8f05f commit 1d15633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch13/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Copy constructor and copy-assignment operator should dynamically allocate memory
`swap(lhs.ps, rhs.ps);` feed the version : `swap(std::string*, std::string*)` and `swap(lhs.i, rhs.i);` feed the version : `swap(int, int)`. Both them can't call `swap(HasPtr&, HasPtr&)`. Thus, the calls don't cause a recursion loop.

## [Exercise 13.30](ex13_30.h)
## [Exercise 13.31](ex13_31.h)
## Exercise 13.31 [hpp](ex13_31.h) | [cpp](ex13_31.cpp)

## Exercise 13.32:
>Would the pointerlike version of `HasPtr` benefit from defining a swap function? If so, what is the benefit? If not, why not?
Expand Down

0 comments on commit 1d15633

Please sign in to comment.