home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / stlpt453.zip / STLport-4.5.3 / src / aligned_buffer.h next >
C/C++ Source or Header  |  2001-01-26  |  254b  |  14 lines

  1. # ifndef ALIGNED_BUFFER_H
  2. #  define ALIGNED_BUFFER_H
  3.  
  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;
  10. };
  11. _STLP_END_NAMESPACE
  12.  
  13. # endif
  14.