Danny Robson 9eb2784d84 bitwise: convert popcount template into explicit overloads
popcount, popcountl, and popcountll need to be used for each appropriate
fundamental type. It's easiest to just provide overloads for popcount
for the few cases we have available than to deal with templates.
2018-12-06 15:56:37 +11:00
2018-11-09 15:01:35 +11:00
2016-02-02 10:36:42 +11:00
2018-08-04 15:14:06 +10:00
2018-10-31 09:29:28 +11:00
2018-08-04 15:14:06 +10:00
2018-08-04 15:14:06 +10:00
2018-08-04 15:14:06 +10:00
2018-12-03 15:29:04 +11:00
2018-08-04 15:14:06 +10:00
2018-08-04 15:14:06 +10:00
2016-02-26 17:04:54 +11:00
2018-08-04 15:14:06 +10:00
2018-12-03 15:29:21 +11:00
2018-12-04 13:46:23 +11:00
2018-08-04 15:14:06 +10:00
2018-08-04 15:14:06 +10:00
2018-08-04 15:14:06 +10:00
2018-09-27 14:17:54 +10:00
2018-08-04 15:14:06 +10:00
2018-08-04 15:14:06 +10:00
2018-08-04 15:14:06 +10:00
2018-08-04 15:14:06 +10:00
2018-08-04 15:14:06 +10:00
2018-08-04 15:14:06 +10:00
2018-09-18 16:36:28 +10:00
2018-08-04 15:14:06 +10:00
2018-08-04 15:14:06 +10:00
2018-10-30 15:00:48 +11:00

== libcruft

A simple cross-platform C++ utility library.

Supported compilers: >=clang-5.x, >=gcc7.x; specifically, we require cxx17 features such as structured bindings which aren't present in older compilers. No attempt has been made to compile under MSVC.

=== Environment Variables

The following variables can be defined at runtime to change the library behaviour.

DEBUG:: whether to initialise basic debugging features at load time. the value is irrelevant; the test is for whether the variable is defined.
DEBUG_WAIT:: whether to wait for a debugger to attach before executing `main`.

LOG_LEVEL:: minimum log level that will render to the logging stream. note that a given level may have been compiled out and may not be present, eg. DEBUG tends to only be present for debug builds.
BREAK_LEVEL:: minimum log level that will trigger a breakpoint

JOB_THREADS:: default number of threads to spin up for job queues.
JOB_DEPTH:: the default size of the pending work item queue for a job queue.

Ideally one would not resort to using these variables, but they may make debugging a little easier in some circumstances.
Description
A collection of useful C++ routines.
Readme 5.3 MiB
Languages
C++ 96%
Ragel 1.2%
CMake 1.1%
Meson 1.1%
Python 0.6%