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 548d67a commit 8641cdfCopy full SHA for 8641cdf
lldb/include/lldb/Utility/Instrumentation.h
@@ -21,14 +21,12 @@
21
namespace lldb_private {
22
namespace instrumentation {
23
24
-template <typename T,
25
- typename std::enable_if<std::is_fundamental<T>::value, int>::type = 0>
+template <typename T, std::enable_if_t<std::is_fundamental<T>::value, int> = 0>
26
inline void stringify_append(llvm::raw_string_ostream &ss, const T &t) {
27
ss << t;
28
}
29
30
-template <typename T, typename std::enable_if<!std::is_fundamental<T>::value,
31
- int>::type = 0>
+template <typename T, std::enable_if_t<!std::is_fundamental<T>::value, int> = 0>
32
33
ss << &t;
34
0 commit comments