|
| template<class U , typename std::enable_if< compatible_with_t< U, T >::value, int >::type = 0> |
| | weak_ptr (shared_ptr< U, SAFE > const &ptr) noexcept |
| |
| | weak_ptr (weak_ptr const &other) noexcept |
| |
| template<class U , typename std::enable_if< compatible_with_t< U, T >::value, int >::type = 0> |
| | weak_ptr (weak_ptr< U > const &ptr) noexcept |
| |
| | weak_ptr (weak_ptr &&ptr) noexcept |
| |
| template<class U , typename std::enable_if< compatible_with_t< U, T >::value, int >::type = 0> |
| | weak_ptr (weak_ptr< U > &&ptr) noexcept |
| |
| weak_ptr & | operator= (const weak_ptr &other) |
| |
| template<class U , typename std::enable_if< compatible_with_t< U, T >::value, int >::type = 0> |
| weak_ptr & | operator= (const shared_ptr< U, SAFE > &ptr) |
| |
| void | reset () |
| |
| long | use_count () const |
| |
| bool | expired () const |
| |
| shared_ptr< T, SAFE > | lock () const |
| |
| template<typename U > |
| bool | operator== (const weak_ptr< U > &other) const noexcept |
| |
| template<typename U > |
| bool | operator!= (const weak_ptr< U > &other) const noexcept |
| |
| template<typename U > |
| bool | operator< (const weak_ptr< U > &other) const noexcept |
| |
| template<typename U > |
| bool | operator<= (const weak_ptr< U > &other) const noexcept |
| |
| template<typename U > |
| bool | operator> (const weak_ptr< U > &other) const noexcept |
| |
| template<typename U > |
| bool | operator>= (const weak_ptr< U > &other) const noexcept |
| |
◆ weak_ptr() [1/6]
1800 : internal() {
1801 }
◆ weak_ptr() [2/6]
1805 : internal(ptr.internal) {
1806 }
◆ weak_ptr() [3/6]
1807 : internal(other.internal) {
1808 }
◆ weak_ptr() [4/6]
1810 : internal(ptr.internal) {
1811 }
◆ weak_ptr() [5/6]
1816 : internal(std::move(ptr.internal)) {
1817 }
◆ weak_ptr() [6/6]
1823 : internal(std::move(ptr.internal)) {
1824 }
◆ operator=() [1/2]
1830 {
1831 if (this == &other) {
1832 return *this;
1833 }
1834 internal = other.internal;
1835 return *this;
1836 }
◆ operator=() [2/2]
1839 {
1840 internal = ptr.internal;
1841 return *this;
1842 }
◆ reset()
1850 {
1851 internal.reset();
1852 }
◆ use_count()
1855 {
1856 return internal.use_count();
1857 }
◆ expired()
1859 {
1860 return internal.expired();
1861 }
◆ lock()
1863 {
1864 return shared_ptr<T, SAFE>(internal.lock());
1865 }
◆ operator==()
1869 {
1870 return internal == other.internal;
1871 }
◆ operator!=()
1874 {
1875 return internal != other.internal;
1876 }
◆ operator<()
1879 {
1880 return internal < other.internal;
1881 }
◆ operator<=()
1884 {
1885 return internal <= other.internal;
1886 }
◆ operator>()
1889 {
1890 return internal > other.internal;
1891 }
◆ operator>=()
1894 {
1895 return internal >= other.internal;
1896 }
The documentation for this class was generated from the following file: