[#fs-path-generic_string-04]
= xref:fs.adoc[fs]::xref:fs/path.adoc[path]::generic&lowbar;string
:relfileprefix: ../../
:mrdocs:

== Synopses

Declared in `&lt;util&sol;fs&period;h&gt;`


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard, &lowbar;&lowbar;visibility&lowbar;&lowbar;, &lowbar;&lowbar;exclude&lowbar;from&lowbar;explicit&lowbar;instantiation&lowbar;&lowbar;, &lowbar;&lowbar;abi&lowbar;tag&lowbar;&lowbar;&rsqb;&rsqb;
std::string
xref:fs/path/generic_string-0a.adoc[generic&lowbar;string]() const;
----

[.small]#xref:fs/path/generic_string-0a.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class &lowbar;ECharT,
    class &lowbar;Traits = char&lowbar;traits&lt;&lowbar;ECharT&gt;,
    class &lowbar;Allocator = allocator&lt;&lowbar;ECharT&gt;&gt;
&lsqb;&lsqb;nodiscard, &lowbar;&lowbar;visibility&lowbar;&lowbar;, &lowbar;&lowbar;exclude&lowbar;from&lowbar;explicit&lowbar;instantiation&lowbar;&lowbar;, &lowbar;&lowbar;abi&lowbar;tag&lowbar;&lowbar;&rsqb;&rsqb;
basic&lowbar;string&lt;&lowbar;ECharT, &lowbar;Traits, &lowbar;Allocator&gt;
xref:fs/path/generic_string-03.adoc[generic&lowbar;string](&lowbar;Allocator const& &lowbar;&lowbar;a = &lowbar;Allocator()) const;
----

[.small]#xref:fs/path/generic_string-03.adoc[_» more&period;&period;&period;_]#

== Return Value

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====

[.small]#Created with https://www.mrdocs.com[MrDocs]#
