az_span for literal strings #3018
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-triage
Workflow: This is a new issue that needs to be triaged to the appropriate team.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
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.The text was updated successfully, but these errors were encountered: