Fix broken link in purpose.qbk

This commit is contained in:
Peter Dimov
2017-07-07 14:39:04 +03:00
parent ce4df8a666
commit 7273e1d6d0
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ Example:
The last two examples are interesting in that they produce "self-contained"
function objects. `bind(&X::f, x, _1)` stores a copy of `x`.
`bind(&X::f, p, _1)` stores a copy of `p`, and since `p` is a
[@boost:/libs/smart_ptr/shared_ptr.htm `boost::shared_ptr`], the function
[@boost:/libs/smart_ptr/doc/html/smart_ptr.html#shared_ptr `boost::shared_ptr`], the function
object retains a reference to its instance of `X` and will remain valid even
when `p` goes out of scope or is `reset()`.