Vec in std::vec rather than std::collections?

#1

Is there any reason that Vec is located in std::vec rather than std::collections, where all other collections are located? Is this simply for backwards compatibility or is it a design choice?

0 Likes

#2

It might be due to the fact that Vec is a very basic “collection”, usually just called a dynamically sized array.

0 Likes

closed #3

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

0 Likes