| 377 | /// Casts (with no type_info checks) the storage pointer as const T*. |
| 378 | template<typename T> |
| 379 | const T* cast() const noexcept |
| 380 | { |
| 381 | return requires_allocation<typename std::decay<T>::type>::value? |
| 382 | reinterpret_cast<const T*>(storage.dynamic) : |
| 383 | reinterpret_cast<const T*>(&storage.stack); |
| 384 | } |
| 385 | |
| 386 | /// Casts (with no type_info checks) the storage pointer as T*. |
| 387 | template<typename T> |
nothing calls this directly
no outgoing calls
no test coverage detected