We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d74b7a7 commit 21fce49Copy full SHA for 21fce49
1 file changed
thrust/detail/alignment.h
@@ -26,7 +26,7 @@
26
#include <cstddef> // For `std::size_t` and `std::max_align_t`.
27
28
#if __cplusplus >= 201103L
29
- #include <type_traits> // For `std::alignment_of`.
+ #include <type_traits> // For `std::alignment_of` and `std::aligned_storage`.
30
#endif
31
32
namespace thrust
@@ -155,7 +155,7 @@ struct aligned_type;
155
///
156
/// The behavior is undefined if `Len` is 0 or `Align` is not a power of 2.
157
158
-/// It is an implementation of C++11's \p std::alignment_of.
+/// It is an implementation of C++11's \p std::aligned_storage.
159
160
template <std::size_t Len, std::size_t Align>
161
using aligned_storage = std::aligned_storage<Len, Align>;
0 commit comments