| 3991 | * auto s = fmt::format("{}", fmt::ptr(p)); |
| 3992 | */ |
| 3993 | template <typename T> auto ptr(T p) -> const void* { |
| 3994 | static_assert(std::is_pointer<T>::value, "fmt::ptr used with non-pointer"); |
| 3995 | return detail::bit_cast<const void*>(p); |
| 3996 | } |
| 3997 | |
| 3998 | /** |
| 3999 | * Converts `e` to the underlying type. |
nothing calls this directly
no outgoing calls
no test coverage detected