| 284 | | bool |
|---|
| 285 | | operator==(RefCountPointer<LHSObjectT, |
|---|
| 286 | | LHSRefCountPolicyT> const &lhs, |
|---|
| 287 | | RefCountPointer<RHSObjectT, |
|---|
| 288 | | RHSRefCountPolicyT> const &rhs) |
|---|
| | 284 | inline bool |
|---|
| | 285 | operator==(RefCountPointer<LHSObjectT, |
|---|
| | 286 | LHSRefCountPolicyT> const &lhs, |
|---|
| | 287 | RefCountPointer<RHSObjectT, |
|---|
| | 288 | RHSRefCountPolicyT> const &rhs) |
|---|
| | 291 | } |
|---|
| | 292 | |
|---|
| | 293 | template <class LHSObjectT, class LHSRefCountPolicyT, |
|---|
| | 294 | class RHSObjectT > |
|---|
| | 295 | inline bool |
|---|
| | 296 | operator==(RefCountPointer<LHSObjectT, |
|---|
| | 297 | LHSRefCountPolicyT> const &lhs, |
|---|
| | 298 | RHSObjectT * const rhs ) |
|---|
| | 299 | { |
|---|
| | 300 | return (lhs.get() == rhs); |
|---|
| | 301 | } |
|---|
| | 302 | |
|---|
| | 303 | template <class LHSObjectT, |
|---|
| | 304 | class RHSObjectT, class RHSRefCountPolicyT> |
|---|
| | 305 | inline bool |
|---|
| | 306 | operator==(LHSObjectT * const lhs, |
|---|
| | 307 | RefCountPointer<RHSObjectT, |
|---|
| | 308 | RHSRefCountPolicyT> const &rhs ) |
|---|
| | 309 | { |
|---|
| | 310 | return (lhs == rhs.get()); |
|---|
| | 325 | class RHSObjectT > |
|---|
| | 326 | bool |
|---|
| | 327 | operator!=(RefCountPointer<LHSObjectT, |
|---|
| | 328 | LHSRefCountPolicyT> const &lhs, |
|---|
| | 329 | RHSObjectT * const rhs ) |
|---|
| | 330 | { |
|---|
| | 331 | return !(lhs == rhs); |
|---|
| | 332 | } |
|---|
| | 333 | |
|---|
| | 334 | template <class LHSObjectT, |
|---|
| | 335 | class RHSObjectT, class RHSRefCountPolicyT> |
|---|
| | 336 | bool |
|---|
| | 337 | operator!=(LHSObjectT * const lhs, |
|---|
| | 338 | RefCountPointer<RHSObjectT, |
|---|
| | 339 | RHSRefCountPolicyT> const &rhs ) |
|---|
| | 340 | { |
|---|
| | 341 | return !(lhs == rhs); |
|---|
| | 342 | } |
|---|
| | 343 | |
|---|
| | 344 | template <class LHSObjectT, class LHSRefCountPolicyT, |
|---|