Constructs a span wrapping another span of a different element type.
Synopsis
Declared in <absl/types/any_span.h>
template<
typename Element,
typename = EnableIfDifferentElementType<Element>,
typename = EnableIfTransformIsValid<any_span_transform::IdentityT, Element&>>
constexpr
explicit
AnySpan(AnySpan<Element> const& other);
Description
Made explicit because it has performance and lifetime consequences.
Parameters
Name |
Description |
other |
The source span to wrap. |
Created with MrDocs