- This means that two instances of the same allocator are always equal, which in turn means that both allocators can allocate and deallocate each other's memory.
- If two instances of the same allocator can allocate and deallocate each other's memory.
- Yes.
- Yes.
- When a container is copied, its allocator is also copied.
- It provides the container with the ability to create a copy of the allocator it was provided for a different type.
- For std::list, n ==1; for std::vector, n can be any number.
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand