1
0
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:
gfilaci 2019-05-02 10:53:37 +01:00
parent b52fa38f8c
commit 9003c4a07c

View File

@ -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) { };
};