| 114 | |
| 115 | template <class _Tp> |
| 116 | void __thread_specific_ptr<_Tp>::set_pointer(pointer __p) { |
| 117 | _LIBCPP_ASSERT_INTERNAL(get() == nullptr, "Attempting to overwrite thread local data"); |
| 118 | std::__libcpp_tls_set(__key_, __p); |
| 119 | } |
| 120 | |
| 121 | template <> |
| 122 | struct hash<__thread_id> : public __unary_function<__thread_id, size_t> { |
no test coverage detected