[#bsl-basic_syncbuf-getloc] = xref:bsl.adoc[bsl]::xref:bsl/basic_syncbuf.adoc[basic_syncbuf]::getloc :relfileprefix: ../../ :mrdocs: Locale access. == Synopsis Declared in `<bslstl_syncbuf.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]#