mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-25 21:25:56 +01:00
allocator copy constructor (to be fixed)
This commit is contained in:
parent
b52fa38f8c
commit
9003c4a07c
@ -220,7 +220,10 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
#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 construct(pointer __p) { };
|
||||||
void destroy(pointer __p) { };
|
void destroy(pointer __p) { };
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user