[#absl-StatusBuilder-ToString]
= xref:absl.adoc[absl]::xref:absl/StatusBuilder.adoc[StatusBuilder]::ToString
:relfileprefix: ../../
:mrdocs:

Returns a string representation of the status this builder would produce&period;

== Synopsis

Declared in `&lt;absl&sol;status&sol;status&lowbar;builder&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
ToString() const;
----

== Description

This produces the same string as would converting to a Status and calling `operator&lt;&lt;`, but it does so without side effects (e&period;g&period;, logging)&period; Therefore, it is safe to use from within an adapter object passed into `With()`&period;

== Return Value

The string representation of the result status&period;


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