/* Memory utilities for OctaSTD. * * This file is part of OctaSTD. See COPYING.md for futher information. */ #ifndef OCTA_MEMORY_H #define OCTA_MEMORY_H namespace octa { template T *address_of(T &v) { return reinterpret_cast(&const_cast (reinterpret_cast(v))); } } #endif