Lines Matching refs:weak_ptr
718 static_assert(sizeof(std::weak_ptr<CXX_TYPE>) == 2 * sizeof(void *), ""); \
719 static_assert(alignof(std::weak_ptr<CXX_TYPE>) == alignof(void *), ""); \
720 void cxxbridge1$std$weak_ptr$##RUST_TYPE##$null( \
721 std::weak_ptr<CXX_TYPE> *ptr) noexcept { \
722 new (ptr) std::weak_ptr<CXX_TYPE>(); \
724 void cxxbridge1$std$weak_ptr$##RUST_TYPE##$clone( \
725 const std::weak_ptr<CXX_TYPE> &self, \
726 std::weak_ptr<CXX_TYPE> *ptr) noexcept { \
727 new (ptr) std::weak_ptr<CXX_TYPE>(self); \
729 void cxxbridge1$std$weak_ptr$##RUST_TYPE##$downgrade( \
731 std::weak_ptr<CXX_TYPE> *weak) noexcept { \
732 new (weak) std::weak_ptr<CXX_TYPE>(shared); \
734 void cxxbridge1$std$weak_ptr$##RUST_TYPE##$upgrade( \
735 const std::weak_ptr<CXX_TYPE> &weak, \
739 void cxxbridge1$std$weak_ptr$##RUST_TYPE##$drop( \
740 const std::weak_ptr<CXX_TYPE> *self) noexcept { \
741 self->~weak_ptr(); \