tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
assume_aligned.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<etl::size_t N, typename T>
constexpr auto assume_aligned (T *ptr) -> T *
 Informs the implementation that the object ptr points to is aligned to at least N. The implementation may use this information to generate more efficient code, but it might only make this assumption if the object is accessed via the return value of assume_aligned.