Skip to content

az_span for literal strings #3018

@PTaylor-us

Description

@PTaylor-us

Is your feature request related to a problem? Please describe.
Casting away const is not ok.

Describe the solution you'd like
At one time in this library there was both an az_span (immutable) type and an az_mut_span (mutable) type. For some reason this was done away with and the az_span type was made mutable. This can be a big problem when an az_span is created from a literal string or some other const string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Azure.Corecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-requestThis issue requires a new behavior in the product in order be resolved.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions