return maximum number of elements that can be allocated
| 77 | |
| 78 | //return maximum number of elements that can be allocated |
| 79 | size_type max_size () const noexcept |
| 80 | { |
| 81 | //for numeric_limits see Section 4.3, page 59 |
| 82 | return std::numeric_limits<size_t>::max() / sizeof(T); |
| 83 | } |
| 84 | |
| 85 | //allocate but don't initialize num elements of type T |
| 86 | pointer allocate ( |