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 f7580ea commit 6933996Copy full SHA for 6933996
libc/src/stdlib/block.h
@@ -39,8 +39,8 @@ LIBC_INLINE constexpr size_t align_down(size_t value, size_t alignment) {
39
}
40
41
/// Returns the value rounded down to the nearest multiple of alignment.
42
-LIBC_INLINE template <typename T>
43
-constexpr T *align_down(T *value, size_t alignment) {
+template <typename T>
+LIBC_INLINE constexpr T *align_down(T *value, size_t alignment) {
44
return reinterpret_cast<T *>(
45
align_down(reinterpret_cast<size_t>(value), alignment));
46
0 commit comments