Top "Shared-ptr" questions

Reference counted smart pointer class implementing shared ownership

How to pass a default parameter for std::shared_ptr<PureVirtualClass>

I have a function of type virtual void foo(bla, bla, bla, std::shared_ptr<LoggerInterface> logger) = 0; And …

c++ c++11 shared-ptr default-parameters