2017-04-06 18:14:52 +00:00
|
|
|
# libostd
|
2015-04-05 22:10:44 +00:00
|
|
|
|
2017-02-25 14:43:07 +00:00
|
|
|
**Work in progress, not ready for production use.**
|
|
|
|
|
2017-04-06 18:14:52 +00:00
|
|
|
Libostd is an extension of the C++17 standard library which mainly provides
|
2017-01-14 14:09:27 +00:00
|
|
|
ranges (to replace iterators) but also various other utilities like proper
|
2017-03-08 17:11:39 +00:00
|
|
|
streams, string formatting, coroutines, concurrency utilities and others. It's
|
|
|
|
meant to replace the more poorly designed parts of the C++ standard library to
|
2017-01-14 14:09:27 +00:00
|
|
|
make the language easier and more convenient to use.
|
2015-04-23 17:47:33 +00:00
|
|
|
|
2017-02-25 14:43:07 +00:00
|
|
|
It is not feature complete right now, as most things are still being worked on.
|
|
|
|
|
2017-04-06 18:14:52 +00:00
|
|
|
Documentation for libostd can be found at https://docs.octaforge.org/libostd.
|
2017-03-29 23:08:51 +00:00
|
|
|
Please refer to it for further information (the main page should be answer
|
|
|
|
some more of your questions). You can also read `doc/main_page.md` and other
|
2017-05-01 15:39:21 +00:00
|
|
|
files in there directly if you don't need the API documentation.
|
|
|
|
|
|
|
|
## Building
|
|
|
|
|
2018-10-27 21:47:04 +00:00
|
|
|
Libostd is built using Meson. Therefore, you need to install Meson and then
|
|
|
|
you can compile it as usual. Typically, this will be something like
|
2017-06-19 15:09:30 +00:00
|
|
|
|
|
|
|
~~~
|
2018-10-27 21:47:04 +00:00
|
|
|
mkdir build && cd build
|
|
|
|
meson ..
|
|
|
|
ninja all
|
2017-06-19 15:09:30 +00:00
|
|
|
~~~
|
|
|
|
|
2018-04-18 09:34:09 +00:00
|
|
|
This will typically build using either GCC or Clang with the default standard
|
|
|
|
library. **Keep in mind that it is you need at least Clang 4.0 or
|
|
|
|
GCC 7.1 to build.**
|