mirror of
https://github.com/boostorg/dynamic_bitset.git
synced 2026-01-26 06:32:11 +00:00
Compare commits
2 Commits
boost-1.58
...
boost-1.61
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f48010783 | ||
|
|
1d59cc4788 |
@@ -28,6 +28,11 @@ class minimal_allocator {
|
||||
public:
|
||||
typedef T value_type;
|
||||
|
||||
minimal_allocator() {}
|
||||
|
||||
template <typename U>
|
||||
minimal_allocator(const minimal_allocator<U>&) {}
|
||||
|
||||
T* allocate(std::size_t n) {
|
||||
void* p = std::malloc(sizeof(T) * n);
|
||||
if (!p) {
|
||||
|
||||
Reference in New Issue
Block a user