Ivan Sorokin wrote:
Will two overloads scoped_ptr(T*) and scoped_ptr(size_t) conflict with
each other, when somebody calls scoped_ptr<T>(0)?
This is an interesting observation. It didn't occur to me that the size_t
constructor can break existing code.