-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlambda_lib.hpp
More file actions
32 lines (25 loc) · 899 Bytes
/
Copy pathlambda_lib.hpp
File metadata and controls
32 lines (25 loc) · 899 Bytes
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
#pragma once
// Some functions return default value when failed
// meaning: 0, nullptr, etc.
// No exeptions, only exeptions that can happen are from stdlib
// You can define specific names to change how the library behaves
// Define them in the file you include library in, before the library itself
// Define LAMBDA_NOALIGN to minimize node sizes by sacrificing performance
// Generaly isn't woth it
// #define LAMBDA_NOALIGN
// Define LAMBDA_NODEFAULTS to not include defaults.hpp
// Doesn't really affect the performance
// #define LAMBDA_NODEFAULTS
// Define LAMBDA_ADDITIONALS to include additional values that are generaly
// not needed
// Only works if LAMBDA_NODEFAULTS is undefined
#include "nodes.hpp"
#include "print.hpp"
#include "size.hpp"
#include "copy.hpp"
#include "rename.hpp"
#include "apply.hpp"
#include "reduce.hpp"
#ifdef LAMBDA_DEFAULTS
#include "defaults.hpp"
#endif