August 2017
Intermediate to advanced
438 pages
14h 19m
English
The Boost library has a lot of functions for smart pointer conversions. All of them accept a smart pointer and a template parameter T, where T is the desired template type of the smart pointer. Those conversion operator mimic the behavior of built-in casts while correctly managing the reference counting and other smart pointer internals:
Read now
Unlock full access