Crate cstl_sys

Source

Structs§

CSTL_Alloc
Opaque memory allocator interface.
CSTL_CompType
Function table for a type instances of which can be ordered with respect to others in a string weak ordering.
CSTL_CopyType
Function table for a type that can be copied by calling copy on a range of objects of that type to another range, or moved, or destroyed.
CSTL_DropType
Function table for a type that can be destroyed by calling drop on a range of objects of that type.
CSTL_HashType
Function table for a type instances of which can be hashed and compared for equality.
CSTL_MoveType
Function table for a type that can be moved by calling move on a range of objects of that type to another range, or destroyed.
CSTL_SType
CSTL_StringVal
STL ABI std::basic_string layout.
CSTL_UTF8StringVal
STL ABI std::basic_string layout.
CSTL_UTF16StringVal
STL ABI std::basic_string layout.
CSTL_UTF32StringVal
STL ABI std::basic_string layout.
CSTL_VectorIter
An iterator over elements of a vector.
CSTL_VectorVal
STL ABI std::vector layout.
CSTL_WideStringVal
STL ABI std::basic_string layout.

Functions§

CSTL_alignof_type
Get the alignment of a C type back from a packed pseudohandle representation.
CSTL_define_type
Obtain a pseudohandle to the size and alignment of a C type.
CSTL_sizeof_type
Get the size of a C type back from a packed pseudohandle representation.
CSTL_string_append
Appends the null-terminated string at ptr to instance.
CSTL_string_append_char
Appends count copies of the character ch to instance.
CSTL_string_append_n
Appends the first count characters of the string at ptr to instance.
CSTL_string_append_str
Appends the string other to instance.
CSTL_string_append_substr
Appends the substring at offset other_off in other with the length given by count to instance.
CSTL_string_assign
Replaces the contents of instance with the null-terminated string at ptr.
CSTL_string_assign_char
Replaces the contents of instance with the count copies of the character ch.
CSTL_string_assign_n
Replaces the contents of instance with the first count characters of the string at ptr.
CSTL_string_assign_substr
Replaces the contents of instance with the substring at offset other_off in other with the length given by count.
CSTL_string_at
Returns a pointer to the character at pos.
CSTL_string_back
Returns a pointer to the last character.
CSTL_string_begin
Returns an iterator (pointer) to the first character of the string.
CSTL_string_c_str
Returns a const pointer to the underlying null-terminated array serving as character storage.
CSTL_string_capacity
Returns the total characters capacity of the string.
CSTL_string_clear
Erase all characters from the string without affecting capacity.
CSTL_string_compare
Compare two null-terminated character sequences.
CSTL_string_compare_n
Compare an explicit length character sequence with a null-terminated one.
CSTL_string_compare_nn
Compare two explicit length character sequences.
CSTL_string_const_at
Returns a const pointer to the character at pos.
CSTL_string_const_back
Returns a const pointer to the last character.
CSTL_string_const_begin
Returns an iterator (pointer) past the last character of the string.
CSTL_string_const_end
Returns a const iterator (pointer) past the last character of the string.
CSTL_string_const_front
Returns a const pointer to the first character.
CSTL_string_const_index
Returns a const pointer to the character at pos.
CSTL_string_construct
Initializes the string, but does not allocate any memory.
CSTL_string_copy
Copies a substring [off, off + count) to character string pointed to by dest. The resulting character string is not null terminated.
CSTL_string_copy_assign
Replaces the contents of instance with the contents of other_instance.
CSTL_string_data
Returns a pointer to the underlying null-terminated array serving as character storage.
CSTL_string_destroy
Destroys the string, freeing the backing storage if necessary.
CSTL_string_empty
Returns true if the string is empty or false otherwise.
CSTL_string_end
Returns an iterator (pointer) past the last character of the string.
CSTL_string_erase
Removes the character at where and returns a pointer following the removed character.
CSTL_string_erase_at
Removes the character at offset off in instance.
CSTL_string_erase_substr
Removes the characters in the range [first, last) and returns a pointer following the removed character.
CSTL_string_erase_substr_at
Removes the substring at offset off in instance with the length given by count.
CSTL_string_find
Find the first from offset off substring equal to the null-terminated string ptr and return its position from the start of the string.
CSTL_string_find_char
Find the first from offset off occurence of the character ch and return its position from the start of the string.
CSTL_string_find_n
Find the first from offset off substring equal to the first count characters at ptr and return its position from the start of the string.
CSTL_string_find_str
Find the first from offset off substring equal to the string other and return its position from the start of the original string.
CSTL_string_front
Returns a pointer to the first character.
CSTL_string_index
Returns a pointer to the character at pos.
CSTL_string_insert
Inserts the null-terminated string at ptr at the pointer where in instance.
CSTL_string_insert_at
Inserts the null-terminated string at ptr at offset off in instance.
CSTL_string_insert_char
Inserts count copies of the character ch at the pointer where in instance.
CSTL_string_insert_char_at
Inserts count copies of the character ch at offset off in instance.
CSTL_string_insert_n
Inserts the first count characters of the string at ptr at the pointer where in instance.
CSTL_string_insert_n_at
Inserts the first count characters of the string at ptr at offset off in instance.
CSTL_string_insert_str
Inserts the string other at the pointer where in instance.
CSTL_string_insert_str_at
Inserts the string other at offset off in instance.
CSTL_string_insert_substr
Inserts the substring at offset other_off in other with the length given by count at the pointer where in instance.
CSTL_string_insert_substr_at
Inserts the substring at offset other_off in other with the length given by count at offset off in instance.
CSTL_string_length
Returns the number of characters in the string.
CSTL_string_max_size
Returns the maximum possible number of characters in the string.
CSTL_string_move_assign
Moves the contents of other_instance to the contents of instance.
CSTL_string_pop_back
Appends the character ch to the end of the string.
CSTL_string_push_back
Appends the character ch to the end of the string.
CSTL_string_replace
Replaces the characters in the range [first, last) with the null-terminated string at ptr.
CSTL_string_replace_at
Replaces the substring at offset off in instance with the length given by count with the null-terminated string at ptr.
CSTL_string_replace_char
Replaces the characters in the range [first, last) with count copies of the character ch.
CSTL_string_replace_char_at
Replaces the substring at offset off in instance with the length given by count with count copies of the character ch.
CSTL_string_replace_n
Replaces the characters in the range [first, last) with the first count characters of the string at ptr.
CSTL_string_replace_n_at
Replaces the substring at offset off in instance with the length given by count with the first count2 characters of the string at ptr.
CSTL_string_replace_str
Replaces the characters in the range [first, last) with the string other.
CSTL_string_replace_str_at
Replaces the substring at offset off in instance with the length given by count with the string other.
CSTL_string_replace_substr
Replaces the characters in the range [first, last) with the substring at offset other_off in other with the length given by count.
CSTL_string_replace_substr_at
Replaces the substring at offset off in instance with the length given by count with the substring at offset other_off in other with the length given by count2.
CSTL_string_reserve
If new_capacity > CSTL_string_capacity(instance), reallocates and expands the underlying array storage.
CSTL_string_resize
Resizes the string to contain new_size characters, appending ch if current size is less than new_size.
CSTL_string_rfind
Find the last before offset off substring equal to the null-terminated string ptr and return its position from the start of the string.
CSTL_string_rfind_char
Find the last before offset off occurence of the character ch and return its position from the start of the string.
CSTL_string_rfind_n
Find the last before offset off substring equal to the first count characters at ptr and return its position from the start of the string.
CSTL_string_rfind_str
Find the last before offset off substring equal to the string other and return its position from the start of the original string.
CSTL_string_shrink_to_fit
Request removal of unused capacity.
CSTL_string_size
Returns the number of characters in the string.
CSTL_string_substr
Initializes the string with the substring at offset other_off in other with the length given by count.
CSTL_string_swap
Swaps string contents.
CSTL_u8string_append
Appends the null-terminated string at ptr to instance.
CSTL_u8string_append_char
Appends count copies of the character ch to instance.
CSTL_u8string_append_n
Appends the first count characters of the string at ptr to instance.
CSTL_u8string_append_str
Appends the string other to instance.
CSTL_u8string_append_substr
Appends the substring at offset other_off in other with the length given by count to instance.
CSTL_u8string_assign
Replaces the contents of instance with the null-terminated string at ptr.
CSTL_u8string_assign_char
Replaces the contents of instance with the count copies of the character ch.
CSTL_u8string_assign_n
Replaces the contents of instance with the first count characters of the string at ptr.
CSTL_u8string_assign_substr
Replaces the contents of instance with the substring at offset other_off in other with the length given by count.
CSTL_u8string_at
Returns a pointer to the character at pos.
CSTL_u8string_back
Returns a pointer to the last character.
CSTL_u8string_begin
Returns an iterator (pointer) to the first character of the string.
CSTL_u8string_c_str
Returns a const pointer to the underlying null-terminated array serving as character storage.
CSTL_u8string_capacity
Returns the total characters capacity of the string.
CSTL_u8string_clear
Erase all characters from the string without affecting capacity.
CSTL_u8string_compare
Compare two null-terminated character sequences.
CSTL_u8string_compare_n
Compare an explicit length character sequence with a null-terminated one.
CSTL_u8string_compare_nn
Compare two explicit length character sequences.
CSTL_u8string_const_at
Returns a const pointer to the character at pos.
CSTL_u8string_const_back
Returns a const pointer to the last character.
CSTL_u8string_const_begin
Returns an iterator (pointer) past the last character of the string.
CSTL_u8string_const_end
Returns a const iterator (pointer) past the last character of the string.
CSTL_u8string_const_front
Returns a const pointer to the first character.
CSTL_u8string_const_index
Returns a const pointer to the character at pos.
CSTL_u8string_construct
Initializes the string, but does not allocate any memory.
CSTL_u8string_copy
Copies a substring [off, off + count) to character string pointed to by dest. The resulting character string is not null terminated.
CSTL_u8string_copy_assign
Replaces the contents of instance with the contents of other_instance.
CSTL_u8string_data
Returns a pointer to the underlying null-terminated array serving as character storage.
CSTL_u8string_destroy
Destroys the string, freeing the backing storage if necessary.
CSTL_u8string_empty
Returns true if the string is empty or false otherwise.
CSTL_u8string_end
Returns an iterator (pointer) past the last character of the string.
CSTL_u8string_erase
Removes the character at where and returns a pointer following the removed character.
CSTL_u8string_erase_at
Removes the character at offset off in instance.
CSTL_u8string_erase_substr
Removes the characters in the range [first, last) and returns a pointer following the removed character.
CSTL_u8string_erase_substr_at
Removes the substring at offset off in instance with the length given by count.
CSTL_u8string_find
Find the first from offset off substring equal to the null-terminated string ptr and return its position from the start of the string.
CSTL_u8string_find_char
Find the first from offset off occurence of the character ch and return its position from the start of the string.
CSTL_u8string_find_n
Find the first from offset off substring equal to the first count characters at ptr and return its position from the start of the string.
CSTL_u8string_find_str
Find the first from offset off substring equal to the string other and return its position from the start of the original string.
CSTL_u8string_front
Returns a pointer to the first character.
CSTL_u8string_index
Returns a pointer to the character at pos.
CSTL_u8string_insert
Inserts the null-terminated string at ptr at the pointer where in instance.
CSTL_u8string_insert_at
Inserts the null-terminated string at ptr at offset off in instance.
CSTL_u8string_insert_char
Inserts count copies of the character ch at the pointer where in instance.
CSTL_u8string_insert_char_at
Inserts count copies of the character ch at offset off in instance.
CSTL_u8string_insert_n
Inserts the first count characters of the string at ptr at the pointer where in instance.
CSTL_u8string_insert_n_at
Inserts the first count characters of the string at ptr at offset off in instance.
CSTL_u8string_insert_str
Inserts the string other at the pointer where in instance.
CSTL_u8string_insert_str_at
Inserts the string other at offset off in instance.
CSTL_u8string_insert_substr
Inserts the substring at offset other_off in other with the length given by count at the pointer where in instance.
CSTL_u8string_insert_substr_at
Inserts the substring at offset other_off in other with the length given by count at offset off in instance.
CSTL_u8string_length
Returns the number of characters in the string.
CSTL_u8string_max_size
Returns the maximum possible number of characters in the string.
CSTL_u8string_move_assign
Moves the contents of other_instance to the contents of instance.
CSTL_u8string_pop_back
Appends the character ch to the end of the string.
CSTL_u8string_push_back
Appends the character ch to the end of the string.
CSTL_u8string_replace
Replaces the characters in the range [first, last) with the null-terminated string at ptr.
CSTL_u8string_replace_at
Replaces the substring at offset off in instance with the length given by count with the null-terminated string at ptr.
CSTL_u8string_replace_char
Replaces the characters in the range [first, last) with count copies of the character ch.
CSTL_u8string_replace_char_at
Replaces the substring at offset off in instance with the length given by count with count copies of the character ch.
CSTL_u8string_replace_n
Replaces the characters in the range [first, last) with the first count characters of the string at ptr.
CSTL_u8string_replace_n_at
Replaces the substring at offset off in instance with the length given by count with the first count2 characters of the string at ptr.
CSTL_u8string_replace_str
Replaces the characters in the range [first, last) with the string other.
CSTL_u8string_replace_str_at
Replaces the substring at offset off in instance with the length given by count with the string other.
CSTL_u8string_replace_substr
Replaces the characters in the range [first, last) with the substring at offset other_off in other with the length given by count.
CSTL_u8string_replace_substr_at
Replaces the substring at offset off in instance with the length given by count with the substring at offset other_off in other with the length given by count2.
CSTL_u8string_reserve
If new_capacity > CSTL_u8string_capacity(instance), reallocates and expands the underlying array storage.
CSTL_u8string_resize
Resizes the string to contain new_size characters, appending ch if current size is less than new_size.
CSTL_u8string_rfind
Find the last before offset off substring equal to the null-terminated string ptr and return its position from the start of the string.
CSTL_u8string_rfind_char
Find the last before offset off occurence of the character ch and return its position from the start of the string.
CSTL_u8string_rfind_n
Find the last before offset off substring equal to the first count characters at ptr and return its position from the start of the string.
CSTL_u8string_rfind_str
Find the last before offset off substring equal to the string other and return its position from the start of the original string.
CSTL_u8string_shrink_to_fit
Request removal of unused capacity.
CSTL_u8string_size
Returns the number of characters in the string.
CSTL_u8string_substr
Initializes the string with the substring at offset other_off in other with the length given by count.
CSTL_u8string_swap
Swaps string contents.
CSTL_u16string_append
Appends the null-terminated string at ptr to instance.
CSTL_u16string_append_char
Appends count copies of the character ch to instance.
CSTL_u16string_append_n
Appends the first count characters of the string at ptr to instance.
CSTL_u16string_append_str
Appends the string other to instance.
CSTL_u16string_append_substr
Appends the substring at offset other_off in other with the length given by count to instance.
CSTL_u16string_assign
Replaces the contents of instance with the null-terminated string at ptr.
CSTL_u16string_assign_char
Replaces the contents of instance with the count copies of the character ch.
CSTL_u16string_assign_n
Replaces the contents of instance with the first count characters of the string at ptr.
CSTL_u16string_assign_substr
Replaces the contents of instance with the substring at offset other_off in other with the length given by count.
CSTL_u16string_at
Returns a pointer to the character at pos.
CSTL_u16string_back
Returns a pointer to the last character.
CSTL_u16string_begin
Returns an iterator (pointer) to the first character of the string.
CSTL_u16string_c_str
Returns a const pointer to the underlying null-terminated array serving as character storage.
CSTL_u16string_capacity
Returns the total characters capacity of the string.
CSTL_u16string_clear
Erase all characters from the string without affecting capacity.
CSTL_u16string_compare
Compare two null-terminated character sequences.
CSTL_u16string_compare_n
Compare an explicit length character sequence with a null-terminated one.
CSTL_u16string_compare_nn
Compare two explicit length character sequences.
CSTL_u16string_const_at
Returns a const pointer to the character at pos.
CSTL_u16string_const_back
Returns a const pointer to the last character.
CSTL_u16string_const_begin
Returns an iterator (pointer) past the last character of the string.
CSTL_u16string_const_end
Returns a const iterator (pointer) past the last character of the string.
CSTL_u16string_const_front
Returns a const pointer to the first character.
CSTL_u16string_const_index
Returns a const pointer to the character at pos.
CSTL_u16string_construct
Initializes the string, but does not allocate any memory.
CSTL_u16string_copy
Copies a substring [off, off + count) to character string pointed to by dest. The resulting character string is not null terminated.
CSTL_u16string_copy_assign
Replaces the contents of instance with the contents of other_instance.
CSTL_u16string_data
Returns a pointer to the underlying null-terminated array serving as character storage.
CSTL_u16string_destroy
Destroys the string, freeing the backing storage if necessary.
CSTL_u16string_empty
Returns true if the string is empty or false otherwise.
CSTL_u16string_end
Returns an iterator (pointer) past the last character of the string.
CSTL_u16string_erase
Removes the character at where and returns a pointer following the removed character.
CSTL_u16string_erase_at
Removes the character at offset off in instance.
CSTL_u16string_erase_substr
Removes the characters in the range [first, last) and returns a pointer following the removed character.
CSTL_u16string_erase_substr_at
Removes the substring at offset off in instance with the length given by count.
CSTL_u16string_find
Find the first from offset off substring equal to the null-terminated string ptr and return its position from the start of the string.
CSTL_u16string_find_char
Find the first from offset off occurence of the character ch and return its position from the start of the string.
CSTL_u16string_find_n
Find the first from offset off substring equal to the first count characters at ptr and return its position from the start of the string.
CSTL_u16string_find_str
Find the first from offset off substring equal to the string other and return its position from the start of the original string.
CSTL_u16string_front
Returns a pointer to the first character.
CSTL_u16string_index
Returns a pointer to the character at pos.
CSTL_u16string_insert
Inserts the null-terminated string at ptr at the pointer where in instance.
CSTL_u16string_insert_at
Inserts the null-terminated string at ptr at offset off in instance.
CSTL_u16string_insert_char
Inserts count copies of the character ch at the pointer where in instance.
CSTL_u16string_insert_char_at
Inserts count copies of the character ch at offset off in instance.
CSTL_u16string_insert_n
Inserts the first count characters of the string at ptr at the pointer where in instance.
CSTL_u16string_insert_n_at
Inserts the first count characters of the string at ptr at offset off in instance.
CSTL_u16string_insert_str
Inserts the string other at the pointer where in instance.
CSTL_u16string_insert_str_at
Inserts the string other at offset off in instance.
CSTL_u16string_insert_substr
Inserts the substring at offset other_off in other with the length given by count at the pointer where in instance.
CSTL_u16string_insert_substr_at
Inserts the substring at offset other_off in other with the length given by count at offset off in instance.
CSTL_u16string_length
Returns the number of characters in the string.
CSTL_u16string_max_size
Returns the maximum possible number of characters in the string.
CSTL_u16string_move_assign
Moves the contents of other_instance to the contents of instance.
CSTL_u16string_pop_back
Appends the character ch to the end of the string.
CSTL_u16string_push_back
Appends the character ch to the end of the string.
CSTL_u16string_replace
Replaces the characters in the range [first, last) with the null-terminated string at ptr.
CSTL_u16string_replace_at
Replaces the substring at offset off in instance with the length given by count with the null-terminated string at ptr.
CSTL_u16string_replace_char
Replaces the characters in the range [first, last) with count copies of the character ch.
CSTL_u16string_replace_char_at
Replaces the substring at offset off in instance with the length given by count with count copies of the character ch.
CSTL_u16string_replace_n
Replaces the characters in the range [first, last) with the first count characters of the string at ptr.
CSTL_u16string_replace_n_at
Replaces the substring at offset off in instance with the length given by count with the first count2 characters of the string at ptr.
CSTL_u16string_replace_str
Replaces the characters in the range [first, last) with the string other.
CSTL_u16string_replace_str_at
Replaces the substring at offset off in instance with the length given by count with the string other.
CSTL_u16string_replace_substr
Replaces the characters in the range [first, last) with the substring at offset other_off in other with the length given by count.
CSTL_u16string_replace_substr_at
Replaces the substring at offset off in instance with the length given by count with the substring at offset other_off in other with the length given by count2.
CSTL_u16string_reserve
If new_capacity > CSTL_u16string_capacity(instance), reallocates and expands the underlying array storage.
CSTL_u16string_resize
Resizes the string to contain new_size characters, appending ch if current size is less than new_size.
CSTL_u16string_rfind
Find the last before offset off substring equal to the null-terminated string ptr and return its position from the start of the string.
CSTL_u16string_rfind_char
Find the last before offset off occurence of the character ch and return its position from the start of the string.
CSTL_u16string_rfind_n
Find the last before offset off substring equal to the first count characters at ptr and return its position from the start of the string.
CSTL_u16string_rfind_str
Find the last before offset off substring equal to the string other and return its position from the start of the original string.
CSTL_u16string_shrink_to_fit
Request removal of unused capacity.
CSTL_u16string_size
Returns the number of characters in the string.
CSTL_u16string_substr
Initializes the string with the substring at offset other_off in other with the length given by count.
CSTL_u16string_swap
Swaps string contents.
CSTL_u32string_append
Appends the null-terminated string at ptr to instance.
CSTL_u32string_append_char
Appends count copies of the character ch to instance.
CSTL_u32string_append_n
Appends the first count characters of the string at ptr to instance.
CSTL_u32string_append_str
Appends the string other to instance.
CSTL_u32string_append_substr
Appends the substring at offset other_off in other with the length given by count to instance.
CSTL_u32string_assign
Replaces the contents of instance with the null-terminated string at ptr.
CSTL_u32string_assign_char
Replaces the contents of instance with the count copies of the character ch.
CSTL_u32string_assign_n
Replaces the contents of instance with the first count characters of the string at ptr.
CSTL_u32string_assign_substr
Replaces the contents of instance with the substring at offset other_off in other with the length given by count.
CSTL_u32string_at
Returns a pointer to the character at pos.
CSTL_u32string_back
Returns a pointer to the last character.
CSTL_u32string_begin
Returns an iterator (pointer) to the first character of the string.
CSTL_u32string_c_str
Returns a const pointer to the underlying null-terminated array serving as character storage.
CSTL_u32string_capacity
Returns the total characters capacity of the string.
CSTL_u32string_clear
Erase all characters from the string without affecting capacity.
CSTL_u32string_compare
Compare two null-terminated character sequences.
CSTL_u32string_compare_n
Compare an explicit length character sequence with a null-terminated one.
CSTL_u32string_compare_nn
Compare two explicit length character sequences.
CSTL_u32string_const_at
Returns a const pointer to the character at pos.
CSTL_u32string_const_back
Returns a const pointer to the last character.
CSTL_u32string_const_begin
Returns an iterator (pointer) past the last character of the string.
CSTL_u32string_const_end
Returns a const iterator (pointer) past the last character of the string.
CSTL_u32string_const_front
Returns a const pointer to the first character.
CSTL_u32string_const_index
Returns a const pointer to the character at pos.
CSTL_u32string_construct
Initializes the string, but does not allocate any memory.
CSTL_u32string_copy
Copies a substring [off, off + count) to character string pointed to by dest. The resulting character string is not null terminated.
CSTL_u32string_copy_assign
Replaces the contents of instance with the contents of other_instance.
CSTL_u32string_data
Returns a pointer to the underlying null-terminated array serving as character storage.
CSTL_u32string_destroy
Destroys the string, freeing the backing storage if necessary.
CSTL_u32string_empty
Returns true if the string is empty or false otherwise.
CSTL_u32string_end
Returns an iterator (pointer) past the last character of the string.
CSTL_u32string_erase
Removes the character at where and returns a pointer following the removed character.
CSTL_u32string_erase_at
Removes the character at offset off in instance.
CSTL_u32string_erase_substr
Removes the characters in the range [first, last) and returns a pointer following the removed character.
CSTL_u32string_erase_substr_at
Removes the substring at offset off in instance with the length given by count.
CSTL_u32string_find
Find the first from offset off substring equal to the null-terminated string ptr and return its position from the start of the string.
CSTL_u32string_find_char
Find the first from offset off occurence of the character ch and return its position from the start of the string.
CSTL_u32string_find_n
Find the first from offset off substring equal to the first count characters at ptr and return its position from the start of the string.
CSTL_u32string_find_str
Find the first from offset off substring equal to the string other and return its position from the start of the original string.
CSTL_u32string_front
Returns a pointer to the first character.
CSTL_u32string_index
Returns a pointer to the character at pos.
CSTL_u32string_insert
Inserts the null-terminated string at ptr at the pointer where in instance.
CSTL_u32string_insert_at
Inserts the null-terminated string at ptr at offset off in instance.
CSTL_u32string_insert_char
Inserts count copies of the character ch at the pointer where in instance.
CSTL_u32string_insert_char_at
Inserts count copies of the character ch at offset off in instance.
CSTL_u32string_insert_n
Inserts the first count characters of the string at ptr at the pointer where in instance.
CSTL_u32string_insert_n_at
Inserts the first count characters of the string at ptr at offset off in instance.
CSTL_u32string_insert_str
Inserts the string other at the pointer where in instance.
CSTL_u32string_insert_str_at
Inserts the string other at offset off in instance.
CSTL_u32string_insert_substr
Inserts the substring at offset other_off in other with the length given by count at the pointer where in instance.
CSTL_u32string_insert_substr_at
Inserts the substring at offset other_off in other with the length given by count at offset off in instance.
CSTL_u32string_length
Returns the number of characters in the string.
CSTL_u32string_max_size
Returns the maximum possible number of characters in the string.
CSTL_u32string_move_assign
Moves the contents of other_instance to the contents of instance.
CSTL_u32string_pop_back
Appends the character ch to the end of the string.
CSTL_u32string_push_back
Appends the character ch to the end of the string.
CSTL_u32string_replace
Replaces the characters in the range [first, last) with the null-terminated string at ptr.
CSTL_u32string_replace_at
Replaces the substring at offset off in instance with the length given by count with the null-terminated string at ptr.
CSTL_u32string_replace_char
Replaces the characters in the range [first, last) with count copies of the character ch.
CSTL_u32string_replace_char_at
Replaces the substring at offset off in instance with the length given by count with count copies of the character ch.
CSTL_u32string_replace_n
Replaces the characters in the range [first, last) with the first count characters of the string at ptr.
CSTL_u32string_replace_n_at
Replaces the substring at offset off in instance with the length given by count with the first count2 characters of the string at ptr.
CSTL_u32string_replace_str
Replaces the characters in the range [first, last) with the string other.
CSTL_u32string_replace_str_at
Replaces the substring at offset off in instance with the length given by count with the string other.
CSTL_u32string_replace_substr
Replaces the characters in the range [first, last) with the substring at offset other_off in other with the length given by count.
CSTL_u32string_replace_substr_at
Replaces the substring at offset off in instance with the length given by count with the substring at offset other_off in other with the length given by count2.
CSTL_u32string_reserve
If new_capacity > CSTL_u32string_capacity(instance), reallocates and expands the underlying array storage.
CSTL_u32string_resize
Resizes the string to contain new_size characters, appending ch if current size is less than new_size.
CSTL_u32string_rfind
Find the last before offset off substring equal to the null-terminated string ptr and return its position from the start of the string.
CSTL_u32string_rfind_char
Find the last before offset off occurence of the character ch and return its position from the start of the string.
CSTL_u32string_rfind_n
Find the last before offset off substring equal to the first count characters at ptr and return its position from the start of the string.
CSTL_u32string_rfind_str
Find the last before offset off substring equal to the string other and return its position from the start of the original string.
CSTL_u32string_shrink_to_fit
Request removal of unused capacity.
CSTL_u32string_size
Returns the number of characters in the string.
CSTL_u32string_substr
Initializes the string with the substring at offset other_off in other with the length given by count.
CSTL_u32string_swap
Swaps string contents.
CSTL_vector_assign_n
Destroys vector contents, replacing them with new_size copies of value.
CSTL_vector_at
Returns a pointer to the element at pos.
CSTL_vector_back
Returns a pointer to the last element in the vector.
CSTL_vector_begin
Construct an iterator to the first element of the vector.
CSTL_vector_capacity
Returns the total element capacity of the vector.
CSTL_vector_clear
Erase all elements from the vector without affecting capacity.
CSTL_vector_const_at
Returns a const pointer to the element at pos.
CSTL_vector_const_back
Returns a const pointer to the last element in the vector.
CSTL_vector_const_data
Returns a pointer to the underlying storage.
CSTL_vector_const_front
Returns a const pointer to the first element in the vector.
CSTL_vector_const_index
Returns a const pointer to the element at pos.
CSTL_vector_construct
Initializes the vector pointed to by new_instance, but does not allocate any memory.
CSTL_vector_copy_assign
Replaces the contents of instance with the contents of other_instance.
CSTL_vector_copy_assign_range
Destroys vector contents, replacing them with a copy of the range [first, last).
CSTL_vector_copy_insert
Inserts a copy of value into the vector before where and returns an iterator to the newly inserted element.
CSTL_vector_copy_insert_range
Inserts a copy of the range [range_first, range_last) into the vector before where and returns an iterator to the newly inserted elements.
CSTL_vector_copy_push_back
Appends a copy of value to the end of the vector.
CSTL_vector_data
Returns a pointer to the underlying storage.
CSTL_vector_destroy
Destroys the vector pointed to by instance, destroying elements and freeing the backing storage.
CSTL_vector_empty
Returns true if the vector is empty or false otherwise.
CSTL_vector_end
Construct an iterator past the last element of the vector.
CSTL_vector_erase
Removes the element at where and returns an iterator following the removed element.
CSTL_vector_erase_range
Removes elements in the range [first, last) and returns an iterator following the removed elements.
CSTL_vector_front
Returns a pointer to the first element in the vector.
CSTL_vector_index
Returns a pointer to the element at pos.
CSTL_vector_insert_n
Inserts count copies of value into the vector before where and returns an iterator to the first newly inserted element.
CSTL_vector_iterator_add
Seeks the iterator forwards by n elements.
CSTL_vector_iterator_deref
Dereferences the iterator at the element it’s pointing to.
CSTL_vector_iterator_distance
Subtracts two iterators and returns the distance measured in elements.
CSTL_vector_iterator_eq
Compares iterators for equality.
CSTL_vector_iterator_index
Dereferences the iterator at an element offset n.
CSTL_vector_iterator_lt
Compares iterators for less than.
CSTL_vector_iterator_sub
Seeks the iterator backwards by n elements.
CSTL_vector_max_size
Returns the maximum possible number of elements in the vector.
CSTL_vector_move_assign
Moves the contents of other_instance to the contents of instance.
CSTL_vector_move_assign_range
Destroys vector contents, replacing them with a copy of the range [first, last).
CSTL_vector_move_insert
Inserts value into the vector before where by moving it and returns an iterator to the newly inserted element.
CSTL_vector_move_insert_range
Inserts the range [range_first, range_last) into the vector before where by moving it and returns an iterator to the newly inserted elements.
CSTL_vector_move_push_back
Appends value to the end of the vector by moving it.
CSTL_vector_pop_back
Removes the last element from the vector.
CSTL_vector_reserve
If new_capacity > CSTL_vector_capacity(instance, type), reallocates and expands the vector storage.
CSTL_vector_resize
Resizes the vector to contain new_size elements.
CSTL_vector_shrink_to_fit
Request removal of unused capacity.
CSTL_vector_size
Returns the number of elements in the vector.
CSTL_vector_swap
Swaps vector contents.
CSTL_vector_truncate
Truncates the vector to contain new_size elements, removing any excess.
CSTL_wstring_append
Appends the null-terminated string at ptr to instance.
CSTL_wstring_append_char
Appends count copies of the character ch to instance.
CSTL_wstring_append_n
Appends the first count characters of the string at ptr to instance.
CSTL_wstring_append_str
Appends the string other to instance.
CSTL_wstring_append_substr
Appends the substring at offset other_off in other with the length given by count to instance.
CSTL_wstring_assign
Replaces the contents of instance with the null-terminated string at ptr.
CSTL_wstring_assign_char
Replaces the contents of instance with the count copies of the character ch.
CSTL_wstring_assign_n
Replaces the contents of instance with the first count characters of the string at ptr.
CSTL_wstring_assign_substr
Replaces the contents of instance with the substring at offset other_off in other with the length given by count.
CSTL_wstring_at
Returns a pointer to the character at pos.
CSTL_wstring_back
Returns a pointer to the last character.
CSTL_wstring_begin
Returns an iterator (pointer) to the first character of the string.
CSTL_wstring_c_str
Returns a const pointer to the underlying null-terminated array serving as character storage.
CSTL_wstring_capacity
Returns the total characters capacity of the string.
CSTL_wstring_clear
Erase all characters from the string without affecting capacity.
CSTL_wstring_compare
Compare two null-terminated character sequences.
CSTL_wstring_compare_n
Compare an explicit length character sequence with a null-terminated one.
CSTL_wstring_compare_nn
Compare two explicit length character sequences.
CSTL_wstring_const_at
Returns a const pointer to the character at pos.
CSTL_wstring_const_back
Returns a const pointer to the last character.
CSTL_wstring_const_begin
Returns an iterator (pointer) past the last character of the string.
CSTL_wstring_const_end
Returns a const iterator (pointer) past the last character of the string.
CSTL_wstring_const_front
Returns a const pointer to the first character.
CSTL_wstring_const_index
Returns a const pointer to the character at pos.
CSTL_wstring_construct
Initializes the string, but does not allocate any memory.
CSTL_wstring_copy
Copies a substring [off, off + count) to character string pointed to by dest. The resulting character string is not null terminated.
CSTL_wstring_copy_assign
Replaces the contents of instance with the contents of other_instance.
CSTL_wstring_data
Returns a pointer to the underlying null-terminated array serving as character storage.
CSTL_wstring_destroy
Destroys the string, freeing the backing storage if necessary.
CSTL_wstring_empty
Returns true if the string is empty or false otherwise.
CSTL_wstring_end
Returns an iterator (pointer) past the last character of the string.
CSTL_wstring_erase
Removes the character at where and returns a pointer following the removed character.
CSTL_wstring_erase_at
Removes the character at offset off in instance.
CSTL_wstring_erase_substr
Removes the characters in the range [first, last) and returns a pointer following the removed character.
CSTL_wstring_erase_substr_at
Removes the substring at offset off in instance with the length given by count.
CSTL_wstring_find
Find the first from offset off substring equal to the null-terminated string ptr and return its position from the start of the string.
CSTL_wstring_find_char
Find the first from offset off occurence of the character ch and return its position from the start of the string.
CSTL_wstring_find_n
Find the first from offset off substring equal to the first count characters at ptr and return its position from the start of the string.
CSTL_wstring_find_str
Find the first from offset off substring equal to the string other and return its position from the start of the original string.
CSTL_wstring_front
Returns a pointer to the first character.
CSTL_wstring_index
Returns a pointer to the character at pos.
CSTL_wstring_insert
Inserts the null-terminated string at ptr at the pointer where in instance.
CSTL_wstring_insert_at
Inserts the null-terminated string at ptr at offset off in instance.
CSTL_wstring_insert_char
Inserts count copies of the character ch at the pointer where in instance.
CSTL_wstring_insert_char_at
Inserts count copies of the character ch at offset off in instance.
CSTL_wstring_insert_n
Inserts the first count characters of the string at ptr at the pointer where in instance.
CSTL_wstring_insert_n_at
Inserts the first count characters of the string at ptr at offset off in instance.
CSTL_wstring_insert_str
Inserts the string other at the pointer where in instance.
CSTL_wstring_insert_str_at
Inserts the string other at offset off in instance.
CSTL_wstring_insert_substr
Inserts the substring at offset other_off in other with the length given by count at the pointer where in instance.
CSTL_wstring_insert_substr_at
Inserts the substring at offset other_off in other with the length given by count at offset off in instance.
CSTL_wstring_length
Returns the number of characters in the string.
CSTL_wstring_max_size
Returns the maximum possible number of characters in the string.
CSTL_wstring_move_assign
Moves the contents of other_instance to the contents of instance.
CSTL_wstring_pop_back
Appends the character ch to the end of the string.
CSTL_wstring_push_back
Appends the character ch to the end of the string.
CSTL_wstring_replace
Replaces the characters in the range [first, last) with the null-terminated string at ptr.
CSTL_wstring_replace_at
Replaces the substring at offset off in instance with the length given by count with the null-terminated string at ptr.
CSTL_wstring_replace_char
Replaces the characters in the range [first, last) with count copies of the character ch.
CSTL_wstring_replace_char_at
Replaces the substring at offset off in instance with the length given by count with count copies of the character ch.
CSTL_wstring_replace_n
Replaces the characters in the range [first, last) with the first count characters of the string at ptr.
CSTL_wstring_replace_n_at
Replaces the substring at offset off in instance with the length given by count with the first count2 characters of the string at ptr.
CSTL_wstring_replace_str
Replaces the characters in the range [first, last) with the string other.
CSTL_wstring_replace_str_at
Replaces the substring at offset off in instance with the length given by count with the string other.
CSTL_wstring_replace_substr
Replaces the characters in the range [first, last) with the substring at offset other_off in other with the length given by count.
CSTL_wstring_replace_substr_at
Replaces the substring at offset off in instance with the length given by count with the substring at offset other_off in other with the length given by count2.
CSTL_wstring_reserve
If new_capacity > CSTL_wstring_capacity(instance), reallocates and expands the underlying array storage.
CSTL_wstring_resize
Resizes the string to contain new_size characters, appending ch if current size is less than new_size.
CSTL_wstring_rfind
Find the last before offset off substring equal to the null-terminated string ptr and return its position from the start of the string.
CSTL_wstring_rfind_char
Find the last before offset off occurence of the character ch and return its position from the start of the string.
CSTL_wstring_rfind_n
Find the last before offset off substring equal to the first count characters at ptr and return its position from the start of the string.
CSTL_wstring_rfind_str
Find the last before offset off substring equal to the string other and return its position from the start of the original string.
CSTL_wstring_shrink_to_fit
Request removal of unused capacity.
CSTL_wstring_size
Returns the number of characters in the string.
CSTL_wstring_substr
Initializes the string with the substring at offset other_off in other with the length given by count.
CSTL_wstring_swap
Swaps string contents.

Type Aliases§

CSTL_Copy
Copy range.
CSTL_CopyTypeCRef
Reference to a const CSTL_CopyType.
CSTL_Drop
Destroy range.
CSTL_DropTypeCRef
Reference to a const CSTL_DropType.
CSTL_Fill
Fill range.
CSTL_Hash
Obtain a hash for an instance of an object.
CSTL_IsEq
Compare two objects for equality.
CSTL_IsLt
Compare two objects for less than.
CSTL_Move
Move range.
CSTL_MoveTypeCRef
Reference to a const CSTL_MoveType.
CSTL_StringCRef
Reference to a const CSTL_StringVal.
CSTL_StringRef
Reference to a mutable CSTL_StringVal.
CSTL_Type
Opaque pseudohandle to the size and alignment of a C type.
CSTL_UTF8StringCRef
Reference to a const CSTL_UTF8StringVal.
CSTL_UTF8StringRef
Reference to a mutable CSTL_UTF8StringVal.
CSTL_UTF16StringCRef
Reference to a const CSTL_UTF16StringVal.
CSTL_UTF16StringRef
Reference to a mutable CSTL_UTF16StringVal.
CSTL_UTF32StringCRef
Reference to a const CSTL_UTF32StringVal.
CSTL_UTF32StringRef
Reference to a mutable CSTL_UTF32StringVal.
CSTL_VectorCRef
Reference to a const CSTL_VectorVal.
CSTL_VectorRef
Reference to a mutable CSTL_VectorVal.
CSTL_WideStringCRef
Reference to a const CSTL_WideStringVal.
CSTL_WideStringRef
Reference to a mutable CSTL_WideStringVal.
char8_t
char16_t
char32_t
wchar_t

Unions§

CSTL_StringUnion
CSTL_UTF8StringUnion
CSTL_UTF16StringUnion
CSTL_UTF32StringUnion
CSTL_WideStringUnion