/libace

Stand-alone C++ headers that tie other code together

Primary LanguageC++OtherNOASSERTION

libace

libace is a collection of C++ code that the author finds himself copy-and-pasting quite often.

Includes

  • compare --- Generic less-than, equal, greater-than template.
  • divider --- Implements division-by-constant as multiplication.
  • do_not_copy --- Equivalent to boost::noncopyable.
  • hash --- Generic hash template, implemented as 64-bit FNV-1a.
  • singleton --- Singleton template, instantiates before main.
  • try --- Converts traditional error reporting to exceptions.