@@ -32,7 +32,7 @@ namespace __private {
3232// / The static member is created by `sus_class_trivially_relocatable()` and
3333// / similar macros.
3434template <class T >
35- struct relocatable_tag final {
35+ struct RelocatableTag final {
3636 static constexpr bool value (...) { return false ; }
3737
3838 static constexpr bool value (int )
@@ -52,7 +52,7 @@ concept TriviallyRelocatable_impl =
5252 std::is_reference_v<T>
5353 || (!std::is_volatile_v<std::remove_all_extents_t <T>>
5454 && sus::mem::data_size_of<std::remove_all_extents_t <std::remove_reference_t <T>>>() != size_t (-1 )
55- && (__private::relocatable_tag <std::remove_all_extents_t <T>>::value(0 )
55+ && (__private::RelocatableTag <std::remove_all_extents_t <T>>::value(0 )
5656 || std::is_trivially_copyable_v<std::remove_all_extents_t <T>>
5757 || (std::is_trivially_move_constructible_v<std::remove_all_extents_t <T>> &&
5858 std::is_trivially_move_assignable_v<std::remove_all_extents_t <T>> &&
@@ -216,7 +216,7 @@ concept TriviallyRelocatable = (... && __private::TriviallyRelocatable_impl<T>);
216216 static_assert (std::is_same_v<decltype (unsafe_fn), \
217217 const ::sus::marker::UnsafeFnMarker>); \
218218 template <class SusOuterClassTypeForTriviallyReloc > \
219- friend struct ::sus::mem::__private::relocatable_tag; \
219+ friend struct ::sus::mem::__private::RelocatableTag; \
220220 /* * #[doc.hidden] */ \
221221 static constexpr bool SusUnsafeTrivialRelocate = \
222222 ::sus::mem::TriviallyRelocatable<__VA_ARGS__>
@@ -262,7 +262,7 @@ concept TriviallyRelocatable = (... && __private::TriviallyRelocatable_impl<T>);
262262 static_assert ( \
263263 std::is_same_v<std::remove_cv_t <decltype (is_trivially_reloc)>, bool>); \
264264 template <class SusOuterClassTypeForTriviallyReloc > \
265- friend struct ::sus::mem::__private::relocatable_tag; \
265+ friend struct ::sus::mem::__private::RelocatableTag; \
266266 static constexpr bool SusUnsafeTrivialRelocate = is_trivially_reloc
267267
268268// / Mark a class as unconditionally trivially relocatable, without any
@@ -298,5 +298,5 @@ concept TriviallyRelocatable = (... && __private::TriviallyRelocatable_impl<T>);
298298 static_assert (std::is_same_v<decltype (unsafe_fn), \
299299 const ::sus::marker::UnsafeFnMarker>); \
300300 template <class SusOuterClassTypeForTriviallyReloc > \
301- friend struct ::sus::mem::__private::relocatable_tag; \
301+ friend struct ::sus::mem::__private::RelocatableTag; \
302302 static constexpr bool SusUnsafeTrivialRelocate = true
0 commit comments