2017-04-06 20:14:52 +02:00
|
|
|
# libostd
|
2015-04-06 00:10:44 +02:00
|
|
|
|
2017-02-25 15:43:07 +01:00
|
|
|
**Work in progress, not ready for production use.**
|
|
|
|
|
2017-04-06 20:14:52 +02:00
|
|
|
Libostd is an extension of the C++17 standard library which mainly provides
|
2017-01-14 15:09:27 +01:00
|
|
|
ranges (to replace iterators) but also various other utilities like proper
|
2017-03-08 18:11:39 +01: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 15:09:27 +01:00
|
|
|
make the language easier and more convenient to use.
|
2015-04-23 19:47:33 +02:00
|
|
|
|
2017-02-25 15:43:07 +01:00
|
|
|
It is not feature complete right now, as most things are still being worked on.
|
|
|
|
|
2017-04-06 20:14:52 +02:00
|
|
|
Documentation for libostd can be found at https://docs.octaforge.org/libostd.
|
2017-03-30 01:08:51 +02: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 17:39:21 +02:00
|
|
|
files in there directly if you don't need the API documentation.
|
|
|
|
|
|
|
|
## Building
|
|
|
|
|
2018-10-27 23:47:04 +02: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 17:09:30 +02:00
|
|
|
|
|
|
|
~~~
|
2018-10-27 23:47:04 +02:00
|
|
|
mkdir build && cd build
|
|
|
|
meson ..
|
|
|
|
ninja all
|
2017-06-19 17:09:30 +02:00
|
|
|
~~~
|
|
|
|
|
2018-04-18 11:34:09 +02: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.**
|