Lines Matching defs:ptr
491 DecayedValueType* ptr = nullptr;
493 ptr = reinterpret_cast<DecayedValueType*>(functionTable_->getPtr(storage_));
494 new (ptr) DecayedValueType(std::forward<Args>(args)...);
497 ptr = reinterpret_cast<DecayedValueType*>(storage_.heap_);
499 return *ptr;
643 auto ptr = AnyCast<U>(&other);
644 if (ptr == nullptr) {
647 return static_cast<ValueType>(*ptr);
668 auto ptr = AnyCast<U>(&other);
669 if (ptr == nullptr) {
672 return static_cast<ValueType>(*ptr);
693 auto ptr = AnyCast<U>(&other);
694 if (ptr == nullptr) {
697 return static_cast<ValueType>(std::move(*ptr));