| 35 | #else |
| 36 | template <typename T> |
| 37 | constexpr T* to_address(T* ptr) noexcept { |
| 38 | static_assert(!std::is_function<T>::value, "T must not be a function"); |
| 39 | return ptr; |
| 40 | } |
| 41 | |
| 42 | template <typename T, typename = void> |
| 43 | struct PointerTraitsToAddress { |
no outgoing calls