GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing cplusplus.com — std::vector::get_allocator Reference
vector
public member function
<vector>
std::vector::get_allocatorallocator_type get_allocator() const; allocator_type get_allocator() const noexcept; Get allocator
ParametersnoneReturn ValueThe allocator.Member type allocator_type is the type of the allocator used by the container, defined in vector as an alias of its second template parameter (Alloc). Example
ComplexityConstant.Iterator validityNo changes.Data racesThe container is accessed.No contained elements are accessed: concurrently accessing or modifying them is safe. Exception safetyNo-throw guarantee: this member function never throws exceptions.Copying any instantiation of the default allocator is also guaranteed to never throw. See also
Home page | Privacy policy
© cplusplus.com, 2000-2026 - All rights reserved - v3.3.4s Spotted an error? contact us | |||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |