Closed mbaker3 closed 10 months ago
Populate a fixed list with the contents of an IEnumerable
Since the Fixed List types are missing a constructor that takes an IEnumerable there is no way to easily populate a fixed list.
Any IEnumerable<T> can now have ToFixedList32 (and all other sizes) called to generate a fixed list version of the enumerable.
IEnumerable<T>
ToFixedList32
Populate a fixed list with the contents of an IEnumerable
What is the current behaviour?
Since the Fixed List types are missing a constructor that takes an IEnumerable there is no way to easily populate a fixed list.
What is the new behaviour?
Any
IEnumerable<T>
can now haveToFixedList32
(and all other sizes) called to generate a fixed list version of the enumerable.What issues does this resolve?
What PRs does this depend on?
Does this introduce a breaking change?