We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd35c8b commit 425fa62Copy full SHA for 425fa62
include/static_type_info/type_index.h
@@ -15,8 +15,8 @@
15
namespace static_type_info {
16
17
namespace detail {
18
- template <typename T> struct IDGenerator { static const void* const id; };
19
- template <typename T> const void* const IDGenerator<T>::id = nullptr;
+ template <typename T> struct IDGenerator { static const void* id; };
+ template <typename T> const void* IDGenerator<T>::id = nullptr;
20
} // namespace detail
21
22
using TypeIndex = decltype(&detail::IDGenerator<void>::id);
0 commit comments