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 f2c4e51 commit 8f35aa7Copy full SHA for 8f35aa7
include/jni/tagging.hpp
@@ -284,19 +284,7 @@ namespace jni
284
}
285
286
template < class T >
287
- struct UntaggedTypeTraits
288
- {
289
- using Type = decltype(Untag(std::declval<T>()));
290
- };
291
-
292
- template <>
293
- struct UntaggedTypeTraits<void>
294
295
- using Type = void;
296
297
298
- template < class T >
299
- using UntaggedType = typename UntaggedTypeTraits<T>::Type;
+ using UntaggedType = decltype(Untag(std::declval<T>()));
300
301
302
0 commit comments