31#ifndef ETL_ADDRESSOF_INCLUDED
32#define ETL_ADDRESSOF_INCLUDED
34#include "../platform.h"
36#if defined(ETL_IN_UNIT_TEST) || ETL_USING_STL
53#if ETL_USING_STL && ETL_USING_CPP11
54 return std::addressof(t);
56 return reinterpret_cast<T*
>(&
const_cast<char&
>(
reinterpret_cast<const volatile char&
>(t)));
ETL_CONSTEXPR17 T * addressof(T &t)
Definition addressof.h:51
bitset_ext
Definition absolute.h:38
pair holds two objects of arbitrary type
Definition utility.h:164