0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00
construct/include/ircd/util
2023-02-09 19:17:45 -08:00
..
align.h ircd::util: Add alignment gauge to suite. 2022-10-01 22:06:45 +00:00
all.h ircd::util: Start an all() convenience template w/ bool specialization. 2020-06-08 16:13:00 -07:00
bitset.h ircd::util: Add popcount wrapping; consolidate callsites. 2023-02-07 20:04:26 -08:00
bswap.h ircd::util: Improve bswap template codegen. 2022-07-01 12:08:06 -07:00
callbacks.h ircd::util::callbacks: Add default void prototype to template. 2019-09-30 14:23:28 -07:00
closure.h ircd::util: Propagate closure noexcept through template. 2022-06-28 12:37:13 -07:00
compare_exchange.h ircd::util: Add a non-atomic compare_exchange(). 2020-12-21 00:44:14 -08:00
construction.h ircd: Fix inlining attributes for clang-10. 2020-07-10 20:04:39 -07:00
custom_ptr.h ircd::util: Fix inline namespace reopening for clang. 2019-06-23 07:37:23 -06:00
enum.h ircd::util: Fix noexcept propagation through enum relaxation operators. 2019-07-30 13:46:22 -07:00
env.h ircd::util: Add environment iteration convenience tools. 2023-02-07 20:04:26 -08:00
hash.h ircd::util: Optimizations for the bernstein constexpr string hasher. 2020-12-11 22:50:57 -08:00
identity.h ircd::util: Add pre-c++2a identity functor template. 2020-02-26 18:10:41 -08:00
instance_list.h ircd::util: Fix unsafe instance_list emplace; assert for allocator state. 2022-07-20 18:32:38 -07:00
instance_map.h ircd::util::instance_map: Fix ill-formed emplace_hint decomposition in template. 2023-02-06 18:15:52 -08:00
instance_multimap.h ircd::util: Optimize instance_multimap w/ allocator::node. 2023-02-05 18:45:08 -08:00
iterator.h ircd::util: Fix inline namespace reopening for clang. 2019-06-23 07:37:23 -06:00
life_guard.h ircd::util: Fix inline namespace reopening for clang. 2019-06-23 07:37:23 -06:00
mask.h ircd: Reorg simd.h / buffer.h interface dependency relationship. 2020-10-10 00:43:59 -07:00
maybe.h ircd::util: Inline template definitions for clang. 2020-02-01 13:34:45 -08:00
nothrow.h ircd::util: Fix inline namespace reopening for clang. 2019-06-23 07:37:23 -06:00
params.h Add noexcept to various lambdas (gcc-11). 2022-06-29 14:42:42 -07:00
pointers.h ircd::util: Fix inline namespace reopening for clang. 2019-06-23 07:37:23 -06:00
popcount.h ircd::util: Add missing popcount specializations. (regression fe0f398e14) (-Wundefined-inline) 2023-02-09 19:17:45 -08:00
pretty.h ircd: Fix/improve comments. [ci skip] 2020-12-06 10:36:47 -08:00
pubsetbuf.h ircd::util: Fix clamp for negative stream::tellp() to view empty. 2023-02-07 20:04:26 -08:00
README.md ircd: Start a README.md for any directory missing one; fix conformity of existing. 2019-01-26 12:29:08 -08:00
reentrance.h ircd::util: Fix inline namespace reopening for clang. 2019-06-23 07:37:23 -06:00
returns.h ircd::util: Generalize util::boolean into returns template. 2023-02-09 19:17:45 -08:00
scope_count.h Revert "ircd: ISO C++ requires template on destructor names out-of-line." (gcc-11/12) 2022-06-20 17:26:39 -07:00
scope_restore.h Revert "ircd: ISO C++ requires template on destructor names out-of-line." (gcc-11/12) 2022-06-20 17:26:39 -07:00
string.h ircd::util: Fix inline namespace reopening for clang. 2019-06-23 07:37:23 -06:00
test.h ircd::util: Improve the test trigger prototype. 2019-07-10 21:39:47 -07:00
timer.h ircd::util::timer: Add constexpr conditional construction. 2023-02-09 12:11:32 -08:00
tuple.h ircd::util: Refactor tuple tools w/ if constexpr; remove until(). 2022-06-30 14:21:50 -07:00
typography.h ircd::util: Add is_pod wrapper; fix deprecation warning. 2022-06-28 12:37:13 -07:00
u2a.h ircd::util: Fix inline namespace reopening for clang. 2019-06-23 07:37:23 -06:00
unique_iterator.h ircd::util: Fix inline namespace reopening for clang. 2019-06-23 07:37:23 -06:00
unit_literal.h ircd::util: Fix inline namespace reopening for clang. 2019-06-23 07:37:23 -06:00
unwind.h ircd::util: Increase constness; remove default template arguments on definition. 2019-12-04 23:28:29 -08:00
util.h ircd::util: Generalize util::boolean into returns template. 2023-02-09 19:17:45 -08:00
va_rtti.h ircd::util: Fix inline namespace reopening for clang. 2019-06-23 07:37:23 -06:00
what.h ircd::util: Add overload for what() on std::exception value-type. 2020-04-23 04:19:53 -07:00

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).