[boost] Potential scoped_ptr improvement