O'Reilly logo
  • Ben Medina thinks this is interesting:

tr1::shared_ptr's constructor taking a raw pointer is explicit


Cover of Effective C++: 55 Specific Ways to Improve Your Programs and Designs, Third Edition


Our equivalent RefCntPtr c’tor is not explicit (though I’d like to change that), and you will see code like this in our code base.