[#bsl-stop_callback-06-get_allocator] = xref:bsl.adoc[bsl]::xref:bsl/stop_callback-06.adoc[stop_callback]::get_allocator :relfileprefix: ../../ :mrdocs: If `t_CALLBACK` is allocator‐aware, return the allocator used to construct this object; otherwise, the return type is `void` and the definition of this function is ill‐formed. == Synopsis Declared in `<bslstl_stoptoken.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/stop_callback-06/allocator_type.adoc[allocator_type] get_allocator() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#