Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPP Utils

Useful utilities for C++ programs.

stringutils

String functions missing from the standard library.

split

Splits a string or character stream based on a delimiter.

The string split is a const expression, returning a vector of strings.

The stream split evaluates lazily, returning an iterator. A default constructed StreamSplitIterator is a sentinel.

itertools

Additional iterators and tools for iterators.

SingleIter

An iterator over a single value.

MergeIter

The MergeIter classes allow combining two sets of iterators into a single iterator.

cxtools

Constexpr versions of simple standard functions, like int to str and str to int.

strToInt

Converts a string to an integer, for any radix. This is a const expression.

intToStr

Converts an integer to a string, for any radix. This is a const expression.

toLower

Converts a string/char from uppercase to lowercase, leaving lowercase characters alone. This is a const expression.

toUpper

Converts a a string/char from lowercase to uppercase, leaving uppercase characters alone. This is a const expression.

About

Useful utilities for C++ programs.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages