Sebanisu / ToolsLibrary

Various free functions that are used in other projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tools Library

Build status contributions welcome Boost License C++ 20 GitHub followers GitHub stars Documentation

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.

  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.

About

Various free functions that are used in other projects.

License:Boost Software License 1.0


Languages

Language:C++ 88.8%Language:CMake 11.2%