stdcpp/src/aligned_buffer.h
author William Roberts <williamr@symbian.org>
Fri, 23 Jul 2010 11:57:06 +0100
branchGCC_SURGE
changeset 46 0a3770c1cffe
parent 45 4b03adbd26ca
permissions -rw-r--r--
Reapply the libstdcpp.mmp file change for bug 2971

# 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