[#BloombergLP-bdls-FilesystemUtil-visitPaths-046] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::visitPaths :relfileprefix: ../../../ :mrdocs: Same as the preceding overload, but accept a `pattern` of the (template parameter) `STRING_TYPE`, which must be one of `bsl::string`, `std::string`, `std::pmr::string` (if supported), `bslstl::StringRef`, or `bsl::string_view`. == Synopsis Declared in `<bdls_filesystemutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STRING_TYPE> static int visitPaths( STRING_TYPE const& pattern, xref:bsl/function-0a.adoc[bsl::function<void(char const*)>] const& visitor); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#