Stand-alone C++ headers that tie other code together
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
Makefile
README.md
compare.h
container_of.h
divider.h
do_not_copy.h
hash.h
singleton.h
test_divide.cc
try.h

README.md

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.