[SR-4225] UnsafePointer initialize overloads inconsistently named #46808
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Additional Detail from JIRA
md5: 3ae2503cb47b3f99589acc286fb6da2e
Issue Description:
we have
p.initialize(to: pointee, count: n)
,p.initialize(from: p2, count: n)
andp.initialize(from: values)
, all of which initializep
's pointee. The first is a real problem.The cleanest interface might be to remove the first two and specialize the third one's implementation to be efficient for
CollectionOfOne
and anything that presents contiguous memory.The text was updated successfully, but these errors were encountered: