[#absl-implicit_cast-04] = xref:absl.adoc[absl]::implicit_cast :relfileprefix: ../ :mrdocs: Overload of `implicit_cast()` for view types (such as `std::string_view`), which participates in overload resolution when `To` is a non‐reference view type. == Synopsis Declared in `<absl/base/casts.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename To> constexpr To implicit_cast(To to) requires type_traits_internal::IsView<std::enable_if_t<!std::is_reference_v<To>, std::remove_cv_t<To>>>::value; ---- == Return Value The value of `to`, converted to `To`. == Parameters [cols="1,4"] |=== | Name| Description | *to* | The value to convert to `To`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#