stdcpp/src/aligned_buffer.h
author hgs
Thu, 14 Oct 2010 14:15:50 +0530
changeset 72 403e7f6ed6c5
parent 71 28ccaba883f4
permissions -rw-r--r--
201041

# 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;
};
_STLP_END_NAMESPACE

# endif