Loading...
Searching...
No Matches
util Directory Reference

Files

file  apply_all.h [code]
 
file  attribute_value.h [code]
 Helper methods for extracting the value of an attribute (according to concepts::attribute).
 
file  cdf.h [code]
 Discrete Cummulative Distribution Function (cdf) constructed from a set of samples and accompanying sampling method.
 
file  constfor.h [code]
 Complile-time for loop.
 
file  constforeach.h [code]
 Compile-time for each loop.
 
file  factorial.h [code]
 Compute the factorial (uses precomputation to speed up run time querries).
 
file  flags.h [code]
 Scoped enum operators and methods.
 
file  gamma.h [code]
 Packet-type friendly implementation of:
 
file  invgamma.h [code]
 Packet friendly computation of the the inverse of the incomplete gamma functions:
 
file  iterator_util.h [code]
 Extensions for STL iterators/ranges.
 
file  literal.h [code]
 Work around for using floating point literals for compilers that do not support it (e.g., Clang 14).
 
file  macro_util.h [code]
 General macro utilities.
 
file  make_from.h [code]
 Tools for making an object:
 
file  multirange_for.h [code]
 ranged for loop over multiple containers at once
 
file  named.h [code]
 A wrapper for STL containers such as tuple, pair, and array. These containers force the programmer to remember the function/meaning of each element based on its position. This is error-prone. To mitigate this, the named wrapper allows to assign a name, via a template parameters, to each element so that subsequently it can be used to query elements by name, and to ensure that the assignment takes in account the order of the elements.
 
file  named_util.h [code]
 Additional convenience methods for named tuples.
 
file  option.h [code]
 Simple command line option parser.
 
file  pointer.h [code]
 Pointer wrapper that takes both shared and non-shared pointers. If the pointer is 'managed' then the pointer is deleted when the reference count hits zero. By default a pointer is not managed unless a shared ptr is assigned or it is explicitely marked as managed during construction.
 
file  poly.h [code]
 Compile time polynomial using Horner's method.
 
file  reference.h [code]
 Assignable reference with wrapper support for rvalues.
 
file  reflection.h [code]
 Compile-time reflection of:
 
file  string_literal.h [code]
 
file  string_util.h [code]
 Helper method for processing strings.
 
file  to_string_literal.h [code]
 convert other types to a string literal.
 
file  tuple.h [code]
 Extensions for the STL tuple class.
 
file  type_traits.h [code]
 
file  typestring.h [code]
 produce stringview of type name of a type. Avoids using typeid for GCC, MSVC, and CLANG. For other compilers it will fall back to typeid.name()
 
file  vector_util.h [code]
 Extensions for the STL vector class.