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 33107d7 commit 5bbbc89Copy full SHA for 5bbbc89
1 file changed
include/libremidi/system_error2.hpp
@@ -186,7 +186,11 @@ using is_trivially_move_constructible = is_trivially_copyable<T>;
186
#if defined(__cpp_lib_trivially_relocatable)
187
using std::is_trivially_relocatable;
188
#elif defined(__has_builtin)
189
- #if __has_builtin(__is_trivially_relocatable)
+ #if __has_builtin(__builtin_is_cpp_trivially_relocatable)
190
+template <class T>
191
+struct is_trivially_relocatable : std::bool_constant<__builtin_is_cpp_trivially_relocatable(T)> { };
192
+ #define STDX_MUST_SPECIALIZE_IS_TRIVIALLY_RELOCATABLE
193
+ #elif __has_builtin(__is_trivially_relocatable)
194
template <class T>
195
struct is_trivially_relocatable : std::bool_constant<__is_trivially_relocatable(T)> { };
196
#define STDX_MUST_SPECIALIZE_IS_TRIVIALLY_RELOCATABLE
0 commit comments