mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-03 06:28:05 +01:00
allocator copy constructor (to be fixed)
This commit is contained in:
1 parent
b52fa38f8c
commit
9003c4a07c
1 file changed
+4
-1
@@ -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