allocators.hpp
Go to the documentation of this file.
Gecode toplevel namespace
void count(Home home, const IntVarArgs &x, int n, IntRelType irt, int m, IntPropLevel ipl=IPL_DEF)
Post propagator for .
Definition count.cpp:40
void element(Home home, IntSharedArray n, IntVar x0, IntVar x1, IntPropLevel ipl=IPL_DEF)
Post domain consistent propagator for .
Definition element.cpp:39
Rebinding helper (returns the type of a similar allocator for type U).
Definition allocators.hpp:355
Rebinding helper (returns the type of a similar allocator for type U).
Definition allocators.hpp:324
region_allocator< U > other
Definition allocators.hpp:325
const void * const_pointer
Definition allocators.hpp:321
void construct(pointer element, const_reference t)
Constructs an object.
Definition allocators.hpp:440
region_allocator(region_allocator< U > const &al) noexcept
Copy from other instantiation.
Definition allocators.hpp:380
region_allocator(region_allocator const &al) noexcept
Copy construction.
Definition allocators.hpp:373
pointer allocate(size_type count, const void *const hint)
Allocates storage.
Definition allocators.hpp:416
void destroy(pointer element)
Calls the destructor on the object pointed to by element.
Definition allocators.hpp:445
size_type max_size(void) const noexcept
Returns the largest size for which a call to allocate might succeed.
Definition allocators.hpp:388
U const & const_reference
Definition allocators.hpp:352
region_allocator(Region ®ion) noexcept
Definition allocators.hpp:367
ptrdiff_t difference_type
Definition allocators.hpp:344
const_pointer address(const_reference x) const
Convert a const reference x to a const pointer.
Definition allocators.hpp:386
Rebinding helper (returns the type of a similar allocator for type U).
Definition allocators.hpp:193
Rebinding helper (returns the type of a similar allocator for type U).
Definition allocators.hpp:162
space_allocator< U > other
Definition allocators.hpp:163
const void * const_pointer
Definition allocators.hpp:159
Allocator that allocates memory from a space heap.
Definition allocators.hpp:177
void construct(pointer element, const_reference t)
Definition allocators.hpp:275
space_allocator(Space &space) noexcept
Definition allocators.hpp:205
space_allocator & operator=(space_allocator const &al)
Assignment operator.
Definition allocators.hpp:215
pointer allocate(size_type count, const void *const hint)
Allocates storage.
Definition allocators.hpp:258
space_allocator(space_allocator< U > const &al) noexcept
Copy from other instantiation.
Definition allocators.hpp:225
void destroy(pointer element)
Calls the destructor on the object pointed to by element.
Definition allocators.hpp:280
const_pointer address(const_reference x) const
Convert a const reference x to a const pointer.
Definition allocators.hpp:230
size_type max_size(void) const noexcept
Returns the largest size for which a call to allocate might succeed.
Definition allocators.hpp:232
void deallocate(pointer p, size_type count)
Deallocates the storage obtained by a call to allocate() with arguments count and p.
Definition allocators.hpp:264
