Lines Matching refs:mStorage
105 typename std::aligned_storage<sizeof(T), alignof(T)>::type mStorage; variable
124 new (&mStorage) T(reinterpret_cast<const T&>(rhs.mStorage)); in Maybe()
133 new (&mStorage) T(reinterpret_cast<const U&>(rhs.mStorage)); in Maybe()
144 new (&mStorage) T(std::move(reinterpret_cast<T&>(rhs.mStorage))); in Maybe()
157 new (&mStorage) T(std::move(reinterpret_cast<U&>(rhs.mStorage))); in Maybe()
182 reinterpret_cast<T&>(mStorage) = reinterpret_cast<const U&>(rhs.mStorage); in copy()
188 new (&mStorage) T(reinterpret_cast<const U&>(rhs.mStorage)); in copy()
218 reinterpret_cast<T&>(mStorage) = std::move(reinterpret_cast<U&>(rhs.mStorage)); in move()
226 new (&mStorage) T(std::move(reinterpret_cast<U&>(rhs.mStorage))); in move()
239 new (&mStorage) T(value); in Maybe()
245 new (&mStorage) T(std::forward<T>(value)); in Maybe()
256 return reinterpret_cast<T&>(mStorage); in value()
262 return reinterpret_cast<const T&>(mStorage); in value()
267 reinterpret_cast<T&>(mStorage).~T(); in destroy()