https://github.com/sebanisu/toolslibrary
Various free functions that are used in other projects.
https://github.com/sebanisu/toolslibrary
Last synced: 8 months ago
JSON representation
Various free functions that are used in other projects.
- Host: GitHub
- URL: https://github.com/sebanisu/toolslibrary
- Owner: Sebanisu
- License: bsl-1.0
- Created: 2021-03-01T13:06:09.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-09T22:19:06.000Z (over 1 year ago)
- Last Synced: 2025-02-07T17:48:35.552Z (over 1 year ago)
- Language: C++
- Size: 119 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tools Library
[](https://ci.appveyor.com/project/Sebanisu/toolslibrary)
[](https://github.com/sebanisu/ToolsLibrary/issues)
[](https://www.boost.org/LICENSE_1_0.txt)
[](https://en.cppreference.com/w/cpp/20)
[](https://github.com/sebanisu?tab=followers)
[](https://GitHub.com/sebanisu/ToolsLibrary/stargazers/)
[](https://codedocs.xyz/Sebanisu/ToolsLibrary)
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](https://github.com/boost-ext/ut). This is a neat library. It doesn't require the use of macros.
1. `tl/input.hpp`
* This struct wraps around a `std::span`, or a `std::istream`. This lets you output to a trivial types, or contiguous ranges of trivial types.
2. `tl/read.hpp`
* This file contains free functions that use `input` to read from files.
3. `tl/concepts.hpp`
* This file contains some concepts used by the rest of the library.
4. `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.
5. `tl/random.hpp`
* This file has an iota function that gives you **X** random values in a range.