kevinchannon / wite Goto Github PK
View Code? Open in Web Editor NEWWite is a small collection of routines and classes that aims to make easy things that should be easy in C++ but are not, for one reason or another.
License: MIT License
Wite is a small collection of routines and classes that aims to make easy things that should be easy in C++ but are not, for one reason or another.
License: MIT License
identifiable_item_collection should have generate
method that inserts an object with a new ID and returns a reference to it (with accompanying try_generate
version).
Should be a variadic template that allows the user to pass in the constructor args for the item. Will need some way for the user to tell the collection what the generator for new object IDs is. Either a template argument, or pass a thing into the constructor, or some kind of set_id_generator
method, or something?
At the moment, static vector will default construct objects to the value of the whole capacity of the vector on initialisation. This is clearly suboptimal. For one thing, it requires the values to be default-constructable, which they might not be.
A reasonable solution would be to hold optional values instead. However, this will require implementation of a custom iterative type for static_vector. Not a problem, but it will be a fair amount of typing.
There is a way to pass variables into Nuget for the version numbers and stuff, so no edits to the nuspec file need to be made
Will need to figure out how to handle the badges in README.md though...
So, you should be able to do something like std::format("My ID: {:X}\n", id)
to format a uuid in X-format.
Alternatively, std::cout << wite::uuid_format::X << id << std::endl;
should do roughly the same thing.
Like std::stringstream
, but for binary io.
Will need to extract the iterator from static_vector and use that, probably
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.