Opened 13 years ago
Closed 13 years ago
#3404 closed Bugs (fixed)
shared_from_this documentation: missing semicolon in example code
Reported by: | Owned by: | Peter Dimov | |
---|---|---|---|
Milestone: | Boost 1.41.0 | Component: | smart_ptr |
Version: | Boost 1.40.0 | Severity: | Problem |
Keywords: | Cc: | mateusz@… |
Description
The example code in the documentation for shared_from_this is missing a ';' after the '}' that ends class Y:
http://www.boost.org/doc/libs/1_40_0/libs/smart_ptr/enable_shared_from_this.html
Note:
See TracTickets
for help on using tickets.
Also, it is example and as such it's supposed to be complete to just copy & paste & compile, so boost:: qualification or
is missing.