0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 07:23:53 +01:00
construct/include/ircd/util
Jason Volk 96b101cd6f ircd: Promote assume() to macro in portable.h.
Revert "ircd: Add assume() convenience wrapping for __builtin_assume()."

This reverts commit 597f60cf6b.
2022-06-17 21:11:53 -07:00
..
align.h ircd::util: Add volatile overload for alignment checker. 2022-06-17 21:11:53 -07:00
all.h
boolean.h
bswap.h
callbacks.h
closure.h ircd::util: Complete the closure_bool template tool. 2022-06-17 21:11:53 -07:00
compare_exchange.h
construction.h
custom_ptr.h
enum.h
env.h
hash.h
identity.h
instance_list.h
instance_multimap.h
iterator.h
life_guard.h
mask.h
maybe.h
nothrow.h
params.h
pointers.h
pretty.h
pubsetbuf.h
README.md
reentrance.h
scope_count.h
scope_restore.h
string.h
test.h
timer.h
tuple.h
typography.h ircd::util: Add involatile_cast() template convenience. 2022-06-17 21:11:53 -07:00
u2a.h
unique_iterator.h
unit_literal.h
unwind.h
util.h ircd::math: Start supplemental library; move log2 constexprs from util. 2021-03-05 13:02:12 -08:00
va_rtti.h
what.h

Utility Toolchest

This namespace contains an accumulated collection of miscellaneous classes and functions which have demonstrated value some place in the project, but are not really specific to the project's application. While most of libircd is arguably a utility suite itself (i.e tokens.h and lex_cast.h and base.h which are not within ircd::util) the contents of this namespace tend to be even more abstract, and serve as utilities to the utilities, etc. This collection is here to save developers time and enforce DRY.

These tools still rank below ircd::exception, *_view, buffer:: and allocator:: and can still make use of those considering the linear inclusion strategy of the project (see: ircd.h).