@@ -32,7 +32,7 @@ namespace __private {
32
32
// / The static member is created by `sus_class_trivially_relocatable()` and
33
33
// / similar macros.
34
34
template <class T >
35
- struct relocatable_tag final {
35
+ struct RelocatableTag final {
36
36
static constexpr bool value (...) { return false ; }
37
37
38
38
static constexpr bool value (int )
@@ -52,7 +52,7 @@ concept TriviallyRelocatable_impl =
52
52
std::is_reference_v<T>
53
53
|| (!std::is_volatile_v<std::remove_all_extents_t <T>>
54
54
&& 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 )
56
56
|| std::is_trivially_copyable_v<std::remove_all_extents_t <T>>
57
57
|| (std::is_trivially_move_constructible_v<std::remove_all_extents_t <T>> &&
58
58
std::is_trivially_move_assignable_v<std::remove_all_extents_t <T>> &&
@@ -216,7 +216,7 @@ concept TriviallyRelocatable = (... && __private::TriviallyRelocatable_impl<T>);
216
216
static_assert (std::is_same_v<decltype (unsafe_fn), \
217
217
const ::sus::marker::UnsafeFnMarker>); \
218
218
template <class SusOuterClassTypeForTriviallyReloc > \
219
- friend struct ::sus::mem::__private::relocatable_tag; \
219
+ friend struct ::sus::mem::__private::RelocatableTag; \
220
220
/* * #[doc.hidden] */ \
221
221
static constexpr bool SusUnsafeTrivialRelocate = \
222
222
::sus::mem::TriviallyRelocatable<__VA_ARGS__>
@@ -262,7 +262,7 @@ concept TriviallyRelocatable = (... && __private::TriviallyRelocatable_impl<T>);
262
262
static_assert ( \
263
263
std::is_same_v<std::remove_cv_t <decltype (is_trivially_reloc)>, bool>); \
264
264
template <class SusOuterClassTypeForTriviallyReloc > \
265
- friend struct ::sus::mem::__private::relocatable_tag; \
265
+ friend struct ::sus::mem::__private::RelocatableTag; \
266
266
static constexpr bool SusUnsafeTrivialRelocate = is_trivially_reloc
267
267
268
268
// / Mark a class as unconditionally trivially relocatable, without any
@@ -298,5 +298,5 @@ concept TriviallyRelocatable = (... && __private::TriviallyRelocatable_impl<T>);
298
298
static_assert (std::is_same_v<decltype (unsafe_fn), \
299
299
const ::sus::marker::UnsafeFnMarker>); \
300
300
template <class SusOuterClassTypeForTriviallyReloc > \
301
- friend struct ::sus::mem::__private::relocatable_tag; \
301
+ friend struct ::sus::mem::__private::RelocatableTag; \
302
302
static constexpr bool SusUnsafeTrivialRelocate = true
0 commit comments