peerplays-fc/include/fc/aligned.hpp

15 lines
232 B
C++
Raw Normal View History

2012-09-08 02:50:37 +00:00
#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_