00001
00002
00003 #ifndef OSL_ALIGN16NEW_H
00004 #define OSL_ALIGN16NEW_H
00005 #include <memory>
00006 namespace osl
00007 {
00008 namespace misc
00009 {
00010 struct Align16New
00011 {
00012 static const int Alignment = 16;
00013 static void *operator new(size_t size);
00014 static void *operator new[](size_t size);
00015 static void operator delete(void *ptr, size_t size);
00016 static void operator delete[](void *ptr, size_t size);
00017 protected:
00018 ~Align16New() {}
00019 };
00020 }
00021 }
00022
00023 #endif
00024
00025
00026
00027