| 33 | static constexpr bool can_memcpy = std::is_trivial<T>::value; |
| 34 | |
| 35 | constexpr T* get() noexcept { |
| 36 | return arrow::internal::launder(reinterpret_cast<T*>(&data_)); |
| 37 | } |
| 38 | |
| 39 | constexpr const T* get() const noexcept { |
| 40 | // Use fully qualified name to avoid ambiguities with MSVC (ARROW-14800) |
no test coverage detected