sl@0: #ifndef ALIGNED_BUFFER_H sl@0: #define ALIGNED_BUFFER_H sl@0: sl@0: _STLP_BEGIN_NAMESPACE sl@0: // this is for fake initialization sl@0: template sl@0: union _Stl_aligned_buffer { sl@0: char buf[sizeof(T)]; sl@0: struct { double a; double b; } padding; sl@0: sl@0: T* operator&() { sl@0: return __REINTERPRET_CAST(T*, this); sl@0: } sl@0: sl@0: T const* operator&() const { sl@0: return __REINTERPRET_CAST(T const*, this); sl@0: } sl@0: }; sl@0: _STLP_END_NAMESPACE sl@0: sl@0: #endif