Lines Matching defs:T1
27 template <typename T1>
28 ptr_shared(ptr_shared<T1> const &other) : _obj(other._obj) {}
32 template <typename T1>
33 operator T1 const *() const { return _obj; }
57 template <typename T1>
58 std::ptrdiff_t operator-(ptr_shared<T1> const &other) {
62 template <typename T1>
63 ptr_shared<T> &operator=(ptr_shared<T1> const &other) {
68 template <typename T1>
69 bool operator==(ptr_shared<T1> const &other) const {
73 template <typename T1>
74 bool operator!=(ptr_shared<T1> const &other) const {
78 template <typename T1>
79 bool operator>(ptr_shared<T1> const &other) const {
83 template <typename T1>
84 bool operator<(ptr_shared<T1> const &other) const {
121 template <typename T1, typename T2>
122 inline ptr_shared<T1> static_cast_shared(ptr_shared<T2> const &ref) {
123 return reshare(static_cast<T1 const *>(ref.pointer()));
126 template <typename T1, typename T2>
127 inline ptr_shared<T1> dynamic_cast_shared(ptr_shared<T2> const &ref) {
128 return reshare(dynamic_cast<T1 const *>(ref.pointer()));
131 template <typename T1, typename T2>
132 inline ptr_shared<T1> reinterpret_cast_shared(ptr_shared<T2> const &ref) {
133 return reshare(reinterpret_cast<T1 const *>(ref.pointer()));