blob: 266dc0be5d856d269d26aeb42b5e6bf205c07a8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Open C++ Libraries.org

## Primers:
The primers are available at:
- https://primer.ocl.nekernel.org
## Abstract:
The OCL provides free header-only C++ libraries for usage in C++ software development.
Modules include, a `core` library containing algorithms and containers for C++20 or later.
These libraries were built on top of the Boost C++ libraries and C++ SL.
## Using OCL:
This is taken from the FIX module, and will be used here as an example of usage of the OCL.
```cpp
int main(int argc, char** argv)
{
ocl::fix::visitor basic_visitor;
ocl::fix::range_buffer fix = basic_visitor.visit(default_fix);
ocl::io::enable_stdio_sync(false);
ocl::io::print(":key=35\n");
ocl::io::print(":value=", fix["35"], "\n");
}
```
The OCL are mostly headers only (except OCL.FIX as of 2026), so no compilation step is needed. And is C++17 or later.
## Community:
Join us in our [Discord](https://discord.gg/uD76Qweght) we're quite active and open for contributors!
## Getting Started:
Documentation can be found at: [https://docs.ocl.nekernel.org](https://docs.ocl.nekernel.org).
##### Copyright (c) 2023-2026 Amlal El Mahrouss & OCL Authors, Licensed under the BSL 1.0.
|