Sha256: 8401d8c23d1b5528eb862b42456a6ed629049a8ac0bfa22b1051b6bb1078397c
Contents?: true
Size: 398 Bytes
Versions: 135
Compression:
Stored size: 398 Bytes
Contents
#ifndef ALIGNED_BUFFER_H #define ALIGNED_BUFFER_H _STLP_BEGIN_NAMESPACE // this is for fake initialization template<class T> union _Stl_aligned_buffer { char buf[sizeof(T)]; struct { double a; double b; } padding; T* operator&() { return __REINTERPRET_CAST(T*, this); } T const* operator&() const { return __REINTERPRET_CAST(T const*, this); } }; _STLP_END_NAMESPACE #endif
Version data entries
135 entries across 135 versions & 2 rubygems