[#bsl-basic_stringbuf-getloc] = xref:bsl.adoc[bsl]::xref:bsl/basic_stringbuf.adoc[basic_stringbuf]::getloc :relfileprefix: ../../ :mrdocs: Locale access. == Synopsis Declared in `<bslstl_stringbuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- locale getloc() const; ---- == Description If pubimbue(loc) has been called, then the most recent `loc` is returned. Otherwise the global locale in effect at the time of construction is returned. == Return Value The current locale in effect. [.small]#Created with https://www.mrdocs.com[MrDocs]#