summaryrefslogtreecommitdiffhomepage
path: root/README.md
blob: 1fb32472cd302b9dc07bcd22ae26fcb600f25bf4 (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
# SNU C++ Library

[![License: GPL-2.0](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

## Brief:

A C++ library with additional modules for your C++ SDLC.

## Getting Started:

Here is an example of how snu::opt works.

```cpp
#include <lib/opt.hpp>

int main(int argc, char** argv)
{
  auto opt = snu::opt(snu::eval_eq(50, 50)).expect("snu::eval_eq, does not match!");
  opt = snu::opt(snu::eval_eq(50, 40));
  opt.expect("this time it doesn't.");
  
  return 0;
}
```

##### (c) SNU Systems Corp 2025, all rights reserved.