##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# C++ keywords: alignof (since C++11)

From cppreference.com
< cpp‎ | keyword

### [edit] Usage

- `alignof` operator (since C++11)

### [edit] Example

Run this code

    std::cout << alignof(std::max_align_t) << '\n';

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/keyword/alignof&oldid=44544"