Thanks to visit codestin.com Credit goes to github.com
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 736085f commit 00fd890Copy full SHA for 00fd890
1 file changed
src/memory_tracker.h
@@ -49,7 +49,8 @@ class MemoryTracker {
49
template <typename T>
50
inline void TrackField(const char* name, const std::basic_string<T>& value);
51
template <typename T, typename test_for_number =
52
- char[std::numeric_limits<T>::is_specialized * 2 - 1],
+ typename std::enable_if<
53
+ std::numeric_limits<T>::is_specialized, bool>::type,
54
typename dummy = bool>
55
inline void TrackField(const char* name, const T& value);
56
template <typename T, typename U>
0 commit comments