#include
#include
using namespace std;
int main()
{
vector::allocator_type vectorShortIntAllocator;
vector::allocator_type vectorIntAllocator;
vector::allocator_type vectorLongAllocator;
vector::allocator_type vectorFloatAllocator;
vector::allocator_type vectorDoubleAllocator;
cout << "Here are the number of object that can be allocated.\n";
cout << "short integers: ";
cout << vectorShortIntAllocator.max_size() << endl;
cout << "integers: ";
cout << vectorIntAllocator.max_size() << endl;
cout << "long integers: ";
cout << vectorLongAllocator.max_size() << endl;
cout << "floats: ";
cout << vectorFloatAllocator.max_size() << endl;
cout << "doubles: ";
cout << vectorDoubleAllocator.max_size() << endl;
return 0;
}