You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -132,7 +134,7 @@ std::vector<SpecialElement> v = streamFrom(container)
132
134
133
135
This is roughly equivalent to
134
136
135
-
```
137
+
```cpp
136
138
std::vector<SpecialElement> v;
137
139
std::set<SpecialId> tagged;
138
140
@@ -173,7 +175,7 @@ The async API is a set of tools that abstract away all the burden of maintaining
173
175
174
176
Used with `scl::async::with`, an abstraction over resource management (e.g. you could adapt it for the filesystem), it becomes one of the most useful tools to use the Monitor pattern :
175
177
176
-
```c++
178
+
```cpp
177
179
#include"Queue.h"
178
180
#include<scl/async/async.hpp>
179
181
#include<scl/utils/utils.hpp>
@@ -182,7 +184,7 @@ using namespace scl::async;
182
184
using namespace scl::utils;
183
185
184
186
template <classT>
185
-
class AsyncQueue{
187
+
class AsyncQueue{ //kind of a Monitor
186
188
protected:
187
189
Mutexed<Queue<T>> queue = {};
188
190
@@ -222,7 +224,7 @@ Why the use of functions instead of wrapping in a block? It's nicer to read and
222
224
223
225
* you need to remember to put the block of code around the exact portion of code that should be mutually exclusive
224
226
* you need to have a ready to go RAII lock or a way to emulate it (e.g. `lock` and `unlock`)
*[terminators](./include/scl/stream/terminators/terminators.hpp) - Grouping end of stream operation functions
33
37
*[async](./async/async.hpp) - The asynchronous programming API
38
+
*[http](./http/http.hpp) - The HTTP API
34
39
35
40
36
41
@@ -42,6 +47,7 @@ Here are some [macros](./include/scl/macros.h) and their meaning:
42
47
*`assert_concept` - Compile time assertions of concepts outside of a block of code (must be simple concepts, not aggregates (e.g. `Copyable ` vs `Invocable`))
43
48
*`static_require` - Require concepts without giving an additional error message
44
49
*`META` - The fully qualified namespace path to the `meta` namespace (actually is `scl::tools::meta`)
50
+
*`asString` - The function that converts a variable to `std::string` using its `ToString` specialization
45
51
* Flags
46
52
*`SCL_CPP14` - Define this flag to use the C++14 add-ons (e.g. `is_final_t`)
47
53
*`SCL_CPP17` - Define this flag to use the C++17 add-ons (e.g. `is_swappable_t`)
Copy file name to clipboardexpand all lines: doc/html/annotated.html
+2-3
Original file line number
Diff line number
Diff line change
@@ -207,11 +207,10 @@
207
207
<trid="row_0_6_4_" class="even"><tdclass="entry"><spanstyle="width:48px;display:inline-block;"> </span><spanclass="icona"><spanclass="icon">C</span></span><aclass="el" href="structscl_1_1utils_1_1_none.html" target="_self">None</a></td><tdclass="desc">An empty class serving as the type of an empty Optional<T> </td></tr>
208
208
<trid="row_0_6_5_"><tdclass="entry"><spanstyle="width:48px;display:inline-block;"> </span><spanclass="icona"><spanclass="icon">C</span></span><aclass="el" href="classscl_1_1utils_1_1_optional.html" target="_self">Optional</a></td><tdclass="desc">A class that allows the use of optional types (might be there) </td></tr>
<trid="row_0_6_7_"><tdclass="entry"><spanstyle="width:32px;display:inline-block;"> </span><spanid="arr_0_6_7_" class="arrow" onclick="toggleFolder('0_6_7_')">►</span><spanclass="icona"><spanclass="icon">C</span></span><aclass="el" href="classscl_1_1utils_1_1_raw_storage.html" target="_self">RawStorage</a></td><tdclass="desc">Class that handles raw storage (and manual memory management) for a variable type </td></tr>
211
-
<trid="row_0_6_7_0_" class="even" style="display:none;"><tdclass="entry"><spanstyle="width:64px;display:inline-block;"> </span><spanclass="icona"><spanclass="icon">C</span></span><aclass="el" href="unionscl_1_1utils_1_1_raw_storage_1_1storage__type.html" target="_self">storage_type</a></td><tdclass="desc">Union that stores the data type uninitialized </td></tr>
210
+
<trid="row_0_6_7_"><tdclass="entry"><spanstyle="width:48px;display:inline-block;"> </span><spanclass="icona"><spanclass="icon">C</span></span><aclass="el" href="classscl_1_1utils_1_1_raw_storage.html" target="_self">RawStorage</a></td><tdclass="desc">Class that handles raw storage (and manual memory management) for a variable type </td></tr>
<trid="row_0_6_9_"><tdclass="entry"><spanstyle="width:48px;display:inline-block;"> </span><spanclass="icona"><spanclass="icon">C</span></span><aclass="el" href="structscl_1_1utils_1_1_to_string_3_01_none_01_4.html" target="_self">ToString< None ></a></td><tdclass="desc">A specialization of <aclass="el" href="structscl_1_1utils_1_1_to_string.html">ToString</a> for <aclass="el" href="structscl_1_1utils_1_1_none.html" title="An empty class serving as the type of an empty Optional<T> ">None</a> type </td></tr>
0 commit comments