[#ArgsManager-LockSettings] = xref:ArgsManager.adoc[ArgsManager]::LockSettings :relfileprefix: ../ :mrdocs: Access settings with lock held. == Synopsis Declared in `<common/args.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Fn> [[requires_capability(0x7f2e381af2a8)]] void LockSettings(Fn&& fn); ---- == Parameters [cols="1,4"] |=== | Name| Description | *fn* | Callable invoked with the settings while the lock is held. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#