#define TRANSMUTE(val, type) ({ union _trans { var(val) input; type output; }; \
#define TRANSMUTE(val, type) ({ union _trans { var(val) input; type output; }; \
_Static_assert(sizeof(var(val))==sizeof(type),"Cannot transmute values of different sizes"); \
_Static_assert(sizeof(union_trans)==sizeof(type),"Cannot transmute values of different sizes"); \
_Static_assert(sizeof(union_trans)==sizeof(type),"Cannot transmute values of different sizes"); \
/* XXX: Do we need do check this for equality? Can we re-word it or do we even need it at all? _Static_assert(_Alignof(union _trans) == _Alignof(type), "Cannot transmute values of different alignments");*/ \
/* XXX: Do we need do check this for equality? Can we re-word it or do we even need it at all? _Static_assert(_Alignof(union _trans) == _Alignof(type), "Cannot transmute values of different alignments");*/ \