Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 #ifndef ALIGNED_BUFFER_H
2 #define ALIGNED_BUFFER_H
4 _STLP_BEGIN_NAMESPACE
5 // this is for fake initialization
6 template<class T>
7 union _Stl_aligned_buffer {
8 char buf[sizeof(T)];
9 struct { double a; double b; } padding;
11 T* operator&() {
12 return __REINTERPRET_CAST(T*, this);
13 }
15 T const* operator&() const {
16 return __REINTERPRET_CAST(T const*, this);
17 }
18 };
19 _STLP_END_NAMESPACE
21 #endif