От: | Aera | ||
Дата: | 11.10.04 03:37 | ||
Оценка: |
template<class Y> shared_ptr(std::auto_ptr<Y> & r);
[This constructor takes a the source auto_ptr by reference and not by value, and cannot accept auto_ptr temporaries. This is by design, as the constructor offers the strong guarantee; an rvalue reference would solve this problem, too.]