static_vector
preview is available
#10
Replies: 4 comments 2 replies
-
There is newer version |
Beta Was this translation helpful? Give feedback.
-
Cool, will check it out once I have a bit of time. |
Beta Was this translation helpful? Give feedback.
-
I've finally added the library to OpenLoco, the first use of it was added here OpenLoco/OpenLoco#2436, seems to be working nicely so far. |
Beta Was this translation helpful? Give feedback.
-
Great!!! I'm glad that it works without problems. I'm also happy that my library is used in such great game. I've checked the code you refactored and now it definitely looks easier to read and maintain. If there are no suggestions or complains, I will merge this into main branch.
I am currently working on static flat maps/sets and it will be available soon. |
Beta Was this translation helpful? Give feedback.
-
@ZehMatt If you are interested,
static_vector
preview is available indevelop
branch. I haven't written documentation yet, but I will do it very soon and then everything will be ready for new release.I took
P0843r2
as a design guide.I haven't done it yet, but I will add the following member functions:
static_vector(size_type, default_init_t)
void resize(size_type count, default_init_t)
Those member functions are proposed by P0843r2 and are already available in
boost::container::static_vector
.Beta Was this translation helpful? Give feedback.
All reactions