Small off-topic: why it was decided to join Box<SizedType>
, Box<[T]>
and Box<Trait>
under the single Box
roof instead of using three separate types for each use-case, e.g. something like Dyn<Trait>
for trait objects?
Small off-topic: why it was decided to join Box<SizedType>
, Box<[T]>
and Box<Trait>
under the single Box
roof instead of using three separate types for each use-case, e.g. something like Dyn<Trait>
for trait objects?