#ifndef _FC_ALIGNED_HPP_ #define _FC_ALIGNED_HPP_ namespace fc { template struct aligned { union { T _align; char _data[S]; } _store; operator char*() { return _store._data; } operator const char*()const { return _store._data; } }; } #endif // _FC_ALIGNED_HPP_