mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
allocator copy constructor (to be fixed)
This commit is contained in:
parent
b52fa38f8c
commit
9003c4a07c
@ -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) { };
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user