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
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -248,21 +248,21 @@ assert(!expr.evaluate(incoming_packet)); // fails evaluation. Payload was too
248
248
incoming_packet.payload.data = "Dwight sux";
249
249
assert(expr.evaluate(incoming_packet)); // passes evaluation. The payload was the right size this time
250
250
251
-
// Jim sends a packet has an error code
251
+
// Jim sends a packet that has an error code
252
252
incoming_packet.payload.error_code = 404;
253
253
assert(!expr.evaluate(incoming_packet)); // fails evaluation. The payload had an error code
254
254
```
255
255
256
256
## Boolean Operators
257
257
258
-
Boolean operators are used to chain individual expression tree nodes together. There are two boolean operators that can be used: `AND` and `OR`. These boolean operators are accessible via function calls on the expression nodes. Calling these functions generates a new expression tree node which becomes the parent of the nodes on either side of the boolean operator
258
+
Boolean operators are used to chain individual expression tree nodes together. There are two boolean operators that can be used: `AND` and `OR`. These boolean operators are accessible via function calls on the expression nodes. Calling these functions generates a new expression tree op node which becomes the parent of the leaf nodes on either side of the boolean operator
259
259
260
260
A complex expression tree can be created by calling these functions to chain multiple expression tree nodes together.
261
261
262
262
263
263
## Using this Library
264
264
265
-
To include this library in your project, simply copy the content of the `include` directory into the `include` directory of your project. That's it! Now where did I put that Staples "Easy" button...?
265
+
To include this library in your project, simply copy the content of the `include` directory into the `include` directory of your project. That's it! Now, where did I put that Staples "Easy" button...?
266
266
267
267
268
268
## Compiling
@@ -289,4 +289,4 @@ ctest .
289
289
290
290
CTest will execute the unit tests and provide a pass/fail indication for each one.
291
291
292
-
The address sanitizer is enabled on every unit test executable. A test will fail should memory leak during test execution.
292
+
The address sanitizer is enabled on every unit test executable. A test will fail should memory leak during test execution.
0 commit comments