peerplays-fc/include/fc/aligned.hpp
2012-09-07 22:50:37 -04:00

14 lines
232 B
C++

#ifndef _FC_ALIGNED_HPP_
#define _FC_ALIGNED_HPP_
namespace fc {
template<unsigned int S, typename T=double>
struct aligned {
union {
T _align;
char _data[S];
} _store;
};
}
#endif // _FC_ALIGNED_HPP_