# std::experimental::overaligned_tag, std::experimental::overaligned

> C++ Atlas: `cppatlas.com/w/cpp/experimental/simd/overaligned` | Source: https://en.cppreference.com/w/cpp/experimental/simd/overaligned | Domain: Technical specifications

This tag type indicates that the buffer of copy_from and copy_to is aligned to N.

## Official Specification Summary (cppreference)

```cpp
// Defined in header <experimental/simd>

template< std::size_t N >
struct overaligned_tag {};

template< std::size_t N >
inline constexpr overaligned_tag<N> overaligned{}; // (parallelism TS v2)
```

This tag type indicates that the buffer of `copy_from` and `copy_to` is aligned to N.

### Template parameters

- `N` - the alignment in bytes the memory access may assume

### See also

- [`vector_aligned_tag`](https://en.cppreference.com/w/cpp/experimental/simd/vector_aligned) (parallelism TS v2), [`vector_aligned`](https://en.cppreference.com/w/cpp/experimental/simd/vector_aligned): flag indicating alignment of the load/store address to vector alignment (class)
- [`element_aligned_tag`](https://en.cppreference.com/w/cpp/experimental/simd/element_aligned) (parallelism TS v2), [`element_aligned`](https://en.cppreference.com/w/cpp/experimental/simd/element_aligned): flag indicating alignment of the load/store address to element alignment (class)

---
Attribution: content from https://en.cppreference.com/w/cpp/experimental/simd/overaligned (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.