Getting and setting type width using stdalign.h

Introduction

Introduction

Get number of bytes:


alignof(int);
alignof(x);

Set number of bytes:

alignas(double) int x;

Also adds macros to check if this is available:

__alignas_is_defined
__alignof_is_defined