| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| assign | ||
| comparison | ||
| cons | ||
| creation | ||
| hash | ||
| modifiers | ||
| requirements | ||
| specialized_algorithms | ||
| 54351.cc | ||
| dr2228.cc | ||
| dr2899.cc |
* include/bits/unique_ptr.h (__uniq_ptr_impl): Add move constructor, move assignment operator. (__uniq_ptr_impl::release(), __uniq_ptr_impl::reset(pointer)): Add. (__uniq_ptr_data): New class template with conditionally deleted special members. (unique_ptr, unique_ptr<T[], D>): Change type of data member from __uniq_ptr_impl<T, D> to __uniq_ptr_data<T, D>. Define move constructor and move assignment operator as defaulted. (unique_ptr::release(), unique_ptr<T[], D>::release()): Forward to __uniq_ptr_impl::release(). (unique_ptr::reset(pointer), unique_ptr<T[], D>::reset<U>(U)): Forward to __uniq_ptr_impl::reset(pointer). * python/libstdcxx/v6/printers.py (UniquePointerPrinter.__init__): Check for new __uniq_ptr_data type. * testsuite/20_util/unique_ptr/dr2899.cc: New test. From-SVN: r271158
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| assign | Loading commit data... | |
| comparison | Loading commit data... | |
| cons | Loading commit data... | |
| creation | Loading commit data... | |
| hash | Loading commit data... | |
| modifiers | Loading commit data... | |
| requirements | Loading commit data... | |
| specialized_algorithms | Loading commit data... | |
| 54351.cc | Loading commit data... | |
| dr2228.cc | Loading commit data... | |
| dr2899.cc | Loading commit data... |