I'm mirroring what codereport is doing. I will be using this code in my other projects. I'm putting it into an open source library so that anyone can use it.
My tests are wrote using ut. This is a neat library. It doesn't require the use of macros.
tl/input.hpp
- This struct wraps around a
std::span
, or astd::istream
. This lets you output to a trivial types, or contiguous ranges of trivial types.
- This struct wraps around a
tl/read.hpp
- This file contains free functions that use
input
to read from files.
- This file contains free functions that use
tl/concepts.hpp
- This file contains some concepts used by the rest of the library.
tl/utility.hpp
- This file has some free functions that the library depends on.
- Detecting the remaining bytes in a stream.
- Generating a sequence that has an operator() that passes the sequence one at a time as a template parameter.
- This file has some free functions that the library depends on.
tl/random.hpp
- This file has an iota function that gives you X random values in a range.