|
Utility Rack
|
| ▼ example | |
| erase_where_example.cpp | Example code demonstrating use of chops::erase_where and chops::erase_where_if |
| repeat_example.cpp | Example code demonstrating use of chops::repeat |
| ▼ include | |
| ▼ utility | |
| byte_array.hpp | Utility functions to construct and compare a std::array of std::byte objects |
| cast_ptr_to.hpp | Utility functions for conveniently casting a pointer between types, primarily from some type T to either a char* or std::byte* |
| erase_where.hpp | Convenience functions for the erase-remove idiom in C++ |
| forward_capture.hpp | A utility to perfectly forward function template parameters in lambda captures |
| overloaded.hpp | Overloaded utility function and class, primarily used with std::visit |
| repeat.hpp | Repeat code N times, since the C++ standard range-for does not make it easy to repeat a loop N times. The lambda or function object can access the iteration count, if desired |
| ▼ test | |
| byte_array_test.cpp | Test scenarios for make_byte_array and compare_byte_arrays |
| cast_ptr_to_test.cpp | Test scenarios for cast_ptr_to utility functions |
| erase_where_test.cpp | Test scenarios for erase_where utility functions |
| forward_capture_test.cpp | Test scenarios for Vittorio Romeo's perfect forward capture utilities |
| overloaded_test.cpp | Test scenarios for overloaded utility class and function |
| repeat_test.cpp | Test scenarios for Vittorio Romeo's repeat utility function |