Skip to content

Commit 21fce49

Browse files
committed
Fix some typos in comments in alignment.h
1 parent d74b7a7 commit 21fce49

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

thrust/detail/alignment.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <cstddef> // For `std::size_t` and `std::max_align_t`.
2727

2828
#if __cplusplus >= 201103L
29-
#include <type_traits> // For `std::alignment_of`.
29+
#include <type_traits> // For `std::alignment_of` and `std::aligned_storage`.
3030
#endif
3131

3232
namespace thrust
@@ -155,7 +155,7 @@ struct aligned_type;
155155
///
156156
/// The behavior is undefined if `Len` is 0 or `Align` is not a power of 2.
157157
///
158-
/// It is an implementation of C++11's \p std::alignment_of.
158+
/// It is an implementation of C++11's \p std::aligned_storage.
159159
#if __cplusplus >= 201103L
160160
template <std::size_t Len, std::size_t Align>
161161
using aligned_storage = std::aligned_storage<Len, Align>;

0 commit comments

Comments
 (0)