[#absl-implicit_cast-0f]
= xref:absl.adoc[absl]::implicit&lowbar;cast
:relfileprefix: ../
:mrdocs:

Overload of `implicit&lowbar;cast()` for view types (such as `std&colon;&colon;string&lowbar;view`), which participates in overload resolution when `To` is a non&hyphen;reference view type&period;

== Synopsis

Declared in `&lt;absl&sol;base&sol;casts&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename To&gt;
constexpr
To
implicit&lowbar;cast(To to)
requires type&lowbar;traits&lowbar;internal&colon;&colon;IsView&lt;std&colon;&colon;enable&lowbar;if&lowbar;t&lt;!std&colon;&colon;is&lowbar;reference&lowbar;v&lt;To&gt;,
                                                  std&colon;&colon;remove&lowbar;cv&lowbar;t&lt;To&gt;&gt;&gt;&colon;&colon;value;
----

== Return Value

The value of `to`, converted to `To`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *to*
| The value to convert to `To`&period;
|===


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