mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-13 20:57:06 +01:00
allocator copy constructor (to be fixed)
This commit is contained in:
@ -220,7 +220,10 @@ public:
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
void construct(pointer __p, const _Tp& __val) { };
|
||||
|
||||
// FIXME: hack for the copy constructor, eventually it must be avoided
|
||||
void construct(pointer __p, const _Tp& __val) { new((void *)__p) _Tp(__val); };
|
||||
//void construct(pointer __p, const _Tp& __val) { };
|
||||
void construct(pointer __p) { };
|
||||
void destroy(pointer __p) { };
|
||||
};
|
||||
|
Reference in New Issue
Block a user