Summary: Add [[nodiscard]] to the pure-query methods on both intrusive_ptr and weak_intrusive_ptr. Silently discarding the result of get(), defined(), use_count(), weak_use_count(), unique(), is_uniquely_owned(), or expired() is always a logic error. The get() annotation is particularly important — calling ptr.get() and ignoring the return is a...