btl ~master (2022-05-26T13:46:37Z)
Dub
Repo
TestStateAllocator
btl
string
Undocumented in source.
version(unittest && BTL_BASIC_STRING_TESTS)
class
TestStateAllocator (
bool
Realloc
) {
import
std
.
experimental
.
allocator
.
common
:
platformAlignment
;
;
enum
uint
alignment
;
void
[]
allocate
(size_t bytes);
bool
deallocate
(void[] b);
bool
reallocate
(void[] b, size_t s);
bool
empty
();
}
Members
Functions
allocate
void
[]
allocate
(size_t bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
deallocate
bool
deallocate
(void[] b)
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool
empty
()
Undocumented in source. Be warned that the author may not have intended to support it.
reallocate
bool
reallocate
(void[] b, size_t s)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
alignment
enum
uint
alignment
;
Undocumented in source.
Meta
Source
See Implementation
btl
string
modules
encoding
storage
aliases
DefaultAllocator
FixedString
Forward
LargeString
SmallString
String
classes
TestStateAllocator
functions
unittest_allocator_impl
unittest_append_impl
unittest_ctor_char_impl
unittest_ctor_string_impl
unittest_erase_impl
unittest_impl
unittest_insert_impl
unittest_operator_plus_char_impl
unittest_operator_plus_string_impl
unittest_output_range_impl
unittest_replace_impl
unittest_reserve_impl
unittest_resize_impl
unittest_shrink_to_fit_impl
structs
TestStatelessAllocator
templates
BasicString
isBasicString