MCPcopy Create free account
hub / github.com/dengwirda/jigsaw / reallocate

Method reallocate

src/libcpp/allocators/alloc_wrap.hpp:153–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 */
152
153 __inline_call char_type* reallocate (
154 char_type*_addr ,
155 size_type _old_count,
156 size_type _new_count
157 ) const
158 {
159 __assert( this->_aptr != nullptr &&
160 "_wrap_alloc: null allocator!" ) ;
161
162 return this->_aptr->reallocate(_addr,
163 _old_count,
164 _new_count) ;
165 }
166
167 /*
168 --------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected