shared_ptrcustom deleters:try_adopt_shared(adopt an externally allocated object; failure leaves ownership with the caller) andtry_allocate_shared_with_deleter(construct plus a finalizer that runs before destruction). Deleters must benoexcept. Seedocs/reference.md.unique_polymorphic_ptr<Base>(unique_polymorphic_ptr.hpp): owns a derived object through a base handle without needing a virtual destructor (type-erased destructor, complete-object address and allocator-returned block size are stored), supports virtual/multiple inheritance,try_allocate<Derived>, unsafeadopt, and a one-way conversion fromunique_ptr<Derived>.unique_ptr<T>stays minimal (exactTonly). Seedocs/unique-ptr.md.- Shared mutable-string operations (
detail/string_ops_base.hpp, inherited bystring,sso_stringandinline_string): every Rust-strview operation forwarded (rvalue-deleted), in-placetrim*_in_place/strip_*_in_place/truncate/retain/dedup_chars/make_ascii_*casethat reuse thestring_viewalgorithms,try_replace_range/try_replace_all/try_replacen/try_prepend/try_split_off/try_drain,try_assign_repeat/try_append_repeat/try_extend_from/try_pad_*/try_center, andtry_append_int/hex/base64/url/escaped/char32/utf8/utf16encoders,try_append_display/try_append_debug(viafmt.hppsinks) and decoders. All mutators leave the string unchanged on failure.inline_stringgainstry_reserve; the duplicatedfind/contains/starts_withmembers moved into the base. Seedocs/string-ops.md. - Rust-
str-stylestring_viewoperations: lazysplit/rsplit/splitn/rsplitn/split_terminator/split_inclusive/split_whitespace/lines,split_once/split_at,contains/count/matches/match_indices/rfind*/find_*_of,trim_*_matches, ASCII case-insensitive comparison, integer parsing (try_parse,try_consume_int,try_parse_bool), UTF-8 validation and iteration, and allocatingtry_replace/try_to_ascii_*case/try_repeat. Patterns are a character, a predicate or a string. Seedocs/string-view-ops.md. - Rust-slice-style
spanoperations:split_first/last,split_off_*,chunks_exact,rchunks,split/splitn/rsplit,starts_with/ends_with,strip_prefix/suffix,partition_point, binary search bounds,try_find/try_max/try_min*,any/all/count,is_sorted*,select_nth_unstable,reverse,rotate_*,fill*,swap_*,copy_from/copy_within,partition,fold, ASCII helpers. Seedocs/span-slice-ops.md. reloco::tuple<Ts...>: astd::tuplewith Rust-likemap/zip/append/prepend/concat/for_each/first/last, runtimevisit_atreturningresult<R>, and hardened rvalue access. Seedocs/tuple.md.- Owning linked containers
tailq,stailq,slist,listandcircular_list(one allocator-backed node per element, linking delegated to thec_*intrusive containers), plusc_tailq::back(),c_stailq::back()/remove_after(),c_list_head::insert_after()/insert_before()andallocator_ref::operator==. Includestry_prepend,try_spliceandtry_splice_after(same allocator required unless the destination is empty). Seedocs/linked-containers.md. expected::unchecked_value()/unchecked_error(): unasserted accessors for hot loops that testhas_value()outside the loop (rvalues deleted).- Kernel
block::for_each_sub<B2>: split a proven block into narrower proven blocks. Seedocs/kernel/index.md. - Kernel projections
permute,diagonal,try_reshape,try_broadcast(project/permute.hpp,project/reshape.hpp). Seedocs/kernel/projections.md. - Kernel
bound::try_blockwise<B>andblock_span: per-block tables (n / Bentries) indexed by the blocks of a binding. Seedocs/kernel/bind.md. - Kernel examples:
demos/kernel/example_kernels.hpp(rescale, rotate_pairs, row_dots, moving_sum) with scalar twins and audit tests; guidedocs/kernel/examples.md. intrusive_ptr.hpp:intrusive_ptr<T>,intrusive_ref_counted<Derived, Counter>,atomic_refcount,local_refcount,intrusive_ptr_traits<T>,try_allocate_intrusive/try_create_intrusive. Seedocs/intrusive-ptr.md.byte_cursor.hpp:byte_reader/byte_writer, bounds-checked sequential binary parser and serializer. Seedocs/byte-cursor.md.endian.hpp:byte_order,byteswap,to_byte_order/from_byte_order,try_load/try_store. Seedocs/endian.md.kernel/(C++20 and newer): bounds-proven loop domains (proven_index,domain,blocks/tail,pairs,windows,strided) and the opt-inRELOCO_KERNEL_CHECKSinner-loop verification levels, with per-level inline namespaces. Seedocs/kernel/README.md.kernel/view/: rank-Ntensor_viewwith dynamic/static strides,try_make_tensor(overflow-checked, rejects aliasing mutable views),try_make_contiguous_tensor,lane_traits. Seedocs/kernel/views.md.reloco::kernelbinding layer (C++20+):try_bind,RELOCO_KERNEL_BIND,with_bound,bound,bound_spanandallow_aliasprove once that several spans are long enough and do not alias, so hot loops index them without checks. Alsospan::unchecked_subspan. Seedocs/kernel/bind.md.benchmarks/kernel/,scripts/check-kernel-codegen.sh(ctestKernelCodegen) and the opt-inJPLCZ_RELOCO_BUILD_BENCHMARKS: assembly check and timings showing the bound loop matches the unchecked one. Seedocs/kernel/benchmarks.md.kernel/algo/: core algorithms with one-time length and aliasing checks:fill,try_copy,try_transform,transform_in_place,try_zip_transform,reduce,try_sum,try_dot,try_min/try_max,try_argmin/try_argmax,try_inclusive_scan/try_exclusive_scan. Each has a fully checked scalar twin inkernel::referencefor audits. Seedocs/kernel/algorithms.md.kernel/project/: zero-allocationtry_slice,try_index,try_row,try_column,try_tileandtransposeof atensor_view. Seedocs/kernel/projections.md.span::unchecked_at/array::unchecked_at: element access with no check in any build mode, for loops whose index range was proven once. Seedocs/hardened-containers.md.
- Clang 18 crash instantiating
string_ops_base:[[clang::lifetimebound]]on its variadic member templates is now omitted on Clang older than 19. - MSVC:
detail::visit_resultintuple.hppis SFINAE-friendly. -Wattributeswhen compilingreloco_compile.hppwith GCC:basic_string_view<char>is now explicitly instantiated before the headers that use it.
- The iterator source function
reloco::once(value)is nowreloco::once_item(value). It clashed with thereloco::onceclass (once.hpp) whenever both headers were included in one translation unit.
byte_like.hpp:is_byte_like_v<T>.span:cast_to<U>(),unsafe_cast_to<U>(),try_cast_to<U>(),as_chars(),as_uint8(),as_writable_bytes(),position(),position_if(),try_map_to().string_view: implicit conversion fromspan<CharT>,from_bytes(),as_span(),as_bytes(),as_uint8().stringfamily:try_append_all,try_concat,try_allocate_concat,try_join,try_convert_to.- Vectors:
try_insert_span,try_erase_range,try_swap_remove,truncate,try_convert_to,try_split_off. - Deques:
try_append(span)/try_assign(span)(reject spans aliasing the ring storage),try_create_from/try_allocate_from. boxed_slice::try_from_vectoraccepts any vector flavour;boxed_slice::try_convert_to.- Sized and span-based factories:
try_create_sized,try_create_from,try_to_vector,try_to_string.
vector::retain/dedup_bydid not compile when instantiated.
See docs/fallible-construction.md for the new construction and conversion helpers.