Support Class Library
A set of tools providing classes and utility
prelude.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <scl/macros.h>
4 #include <scl/utils/Optional.h>
5 #include <scl/utils/Either.h>
6 #include <scl/utils/Result.h>
7 #include <scl/utils/Any.h>
10 #include <scl/alias/alias.hpp>
12 
13 #ifndef SCL_CPP20
14  #include <scl/stream/stream.hpp>
15 #endif
16 
17 namespace scl{
26  namespace prelude{
27  namespace make = scl::tools::make;
28 
29  using scl::utils::Any;
31  using scl::utils::Either;
32  using scl::utils::Result;
33 
34  using namespace scl::utils::placeholder;
35  using namespace scl::alias;
36  using namespace scl::exceptions;
37 #ifndef SCL_CPP20
38  using namespace scl::stream::creators;
39  using namespace scl::stream::operators;
40  using namespace scl::stream::terminators;
41 #endif
42  }
43 }
Namespace for stream terminal/final operations (eager)
Definition: forEach.h:10
Namespace for intermediate operations on streams (lazy)
Definition: filter.h:12
Global namespace of the SCL.
Definition: alias.hpp:3
Namespace for all the type aliases.
Namespace for functions and utilities that create streams (lazy)
Definition: array.h:10
Alternative type that stores one or the other.
Definition: Either.h:22
The namespace englobing all exception types.
A class that allows the use of optional types (might be there)
Definition: Optional.h:65
Group of factory functions.
Definition: any.h:8
Class that can hold any value type (and change value type mid lifetime)
Definition: Any.h:60
Namespace holding the constexpr global variable "_".