File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -343,6 +343,8 @@ float out_value;
343343reader.serialize<bounded_range>(range, out_value); // out_value should now be a value close to 1.2345678f
344344```
345345
346+ These examples can also be seen in [ ` src/test/examples_test.cpp ` ] ( https://github.com/KredeGC/BitStream/tree/master/src/test/examples_test.cpp ) .
347+
346348# Extensibility
347349The library is made with extensibility in mind.
348350The ` bit_writer ` and ` bit_reader ` use a template trait specialization of the given type to deduce how to serialize and deserialize the object.
Original file line number Diff line number Diff line change 1212
1313namespace bitstream
1414{
15+ /* *
16+ * @brief Wrapper type for subsets of arrays
17+ * @tparam T The type of the array
18+ */
1519 template <typename T, typename = T>
1620 struct array_subset ;
1721
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ namespace bitstream::test
1414 // The constructor order must be the same as the operator[]
1515 float operator [](size_t index) const
1616 {
17- BS_ASSERT (index >= 0 && index < 4 );
17+ BS_TEST_ASSERT (index >= 0 && index < 4 );
1818
1919 return values[index];
2020 }
You can’t perform that action at this time.
0 commit comments