Annex D (normative) Compatibility features [depr]

D.14 Deprecated shared_­ptr observers [depr.util.smartptr.shared.obs]

Следующий член определен в дополнение к тем членам, которые указаны в [util.smartptr.shared]:

namespace std {
  template<class T> class shared_ptr {
  public:
    bool unique() const noexcept;
  };
}

bool unique() const noexcept;

Returns: use_­count() == 1.