0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-18 07:50:57 +01:00
Commit graph

67 commits

Author SHA1 Message Date
Jason Volk
cd8b645b91 ircd::util: Stub a TODO for util::closure. 2019-04-09 21:08:15 -07:00
Jason Volk
29775f0866 ircd::util: Add hton()/ntoh() in-place swap overloads. 2019-04-06 17:12:01 -07:00
Jason Volk
1b0853a9c5 ircd::util: Split custom_ptr; make strong type; pointer conversion. 2019-04-03 17:18:21 -07:00
Jason Volk
7027264ea2 ircd::util::params: Relax class access. 2019-03-10 14:25:10 -07:00
Jason Volk
63d591b2b8 ircd::util::fpe: Add interface to set the except flag. 2019-03-04 13:20:39 -08:00
Jason Volk
8054317106 ircd::util: Make scope_count a template. 2019-02-28 17:12:03 -08:00
Jason Volk
d8536ca9a9 ircd: Move fpe into util. 2019-02-16 13:17:44 -08:00
Jason Volk
9f7db84dd3 ircd::util: Add string_buffer() reclosure template. 2019-02-07 18:29:57 -08:00
Jason Volk
cc636d375f ircd::util: Improve string() suite; add flags for shrink_to_fit(). 2019-02-07 18:03:21 -08:00
Jason Volk
a30c808b0e ircd: Start a README.md for any directory missing one; fix conformity of existing. 2019-01-26 12:29:08 -08:00
Jason Volk
9b703f9915 ircd::util: Truncate when stream's tellp is out of range. 2019-01-19 17:01:53 -08:00
Jason Volk
067a2f8651 ircd::util: Use a long double nanoseconds template rep. 2019-01-09 17:05:58 -08:00
Jason Volk
1cb3db6726 ircd::util: Add scope_restore; remove scope_light because generalized. 2019-01-02 15:19:05 -08:00
Jason Volk
7628b8b7f7 ircd::util: Add scope_count tool. 2019-01-02 10:48:05 -08:00
Jason Volk
09424ab344 ircd::util: Add scope_light tool. 2019-01-02 10:47:56 -08:00
Jason Volk
43a354da49 ircd::util: Add a format option for pretty_nanoseconds() et al for abbreviated units. 2018-12-30 13:38:14 -08:00
Jason Volk
a70d65f171 ircd::util: Allow custom format string for pretty() suite. 2018-11-28 14:41:27 -08:00
Jason Volk
ad5305f151 ircd::util: Use tuple rather than pair for va_rtti value_type. 2018-11-28 13:15:42 -08:00
Jason Volk
a7e4acc519 ircd: Split and reorg ircd::hash/ircd::crh related headers and units. 2018-11-08 17:04:15 -08:00
Jason Volk
13f38782f5 ircd::util: Deinline various utils; minor cleanup. 2018-10-25 13:39:41 -07:00
Jason Volk
045a944911 ircd: Move a2u / pretty() suites from lex_cast to util::; start util.cc unit. 2018-10-21 01:00:41 -07:00
Jason Volk
a220891800 ircd::util: Support comparator in instance_multimap template. 2018-09-29 16:46:55 -07:00
Jason Volk
0d4013536a ircd::util: Add overload to ircd::string() to pubsetbuf() a provided buffer. 2018-09-27 17:00:15 -07:00
Jason Volk
d72713d91c ircd::util: Fix comment. 2018-09-15 10:15:02 -07:00
Jason Volk
e6a62b41b3 ircd::util: Start an env var convenience suite. 2018-09-15 03:27:26 -07:00
Jason Volk
16bbecf649 ircd::util: Add a callbacks list util. 2018-09-15 00:35:57 -07:00
Jason Volk
9f35483e4e ircd: Include unistd.h in stdinc stack; remove the syscall() fwddecl. 2018-09-15 00:14:22 -07:00
Jason Volk
0238364421 ircd::util: Fix template function reference. 2018-09-13 06:39:04 -07:00
Jason Volk
7d94b1c17b ircd: Relax noexcept in std::function template declarations. 2018-09-13 05:12:25 -07:00
Jason Volk
5e06c4795b ircd: Replace any std::uncaught_exception() -> std::uncaught_exceptions(). 2018-09-13 05:02:24 -07:00
Jason Volk
1154d15c5e ircd::util: Add instance_multimap. 2018-09-01 21:04:34 -07:00
Jason Volk
349edc2c97 ircd::util: Fix instance_list noexcept specification for move semantics. 2018-09-01 20:45:04 -07:00
Jason Volk
3ed2a32555 ircd::util: Add README blerb to directory. 2018-08-17 12:51:48 -07:00
Jason Volk
fd36e553d5 ircd::util: Add suite to util::params for fetch-by-name. 2018-08-15 23:00:42 -07:00
Jason Volk
69e1c3478f ircd::util: Add index() util. 2018-08-15 23:00:42 -07:00
Jason Volk
d1c1fb931f ircd::util: Add specific endian bswaps e.g arpa/inet.h; minor cleanup. 2018-07-01 16:39:43 -07:00
Jason Volk
070f359707 ircd::util: Add output iterator bounded pointers transform. 2018-05-08 14:28:43 -07:00
Jason Volk
63d77c2392 ircd::util: Split what(); use default param of std::current_exception(). 2018-05-07 19:20:59 -07:00
Jason Volk
08be1cb010 ircd::util: Elaborate the object semantics for instance_list instances. 2018-05-06 22:28:18 -07:00
Jason Volk
671053de74 ircd::util: Remove impossible semantics for instance_list. 2018-05-06 18:02:33 -07:00
Jason Volk
47dc4c2afa ircd::util: Split various from util.h 2018-04-24 17:01:11 -07:00
Jason Volk
b3b11fab7d ircd::util: Fix conditions for is_zero template test. 2018-04-11 23:40:30 -07:00
Jason Volk
05fcdd458a ircd::util: Assert the stream didn't overflow our buffer. 2018-04-06 22:35:14 -07:00
Jason Volk
4760d36847 ircd::ctx: Move unlock_guard from util:: to ctx::. 2018-03-28 22:17:09 -07:00
Jason Volk
15c65924ee ircd::util: Abstract stringstream utils into template; add view hack. 2018-03-25 23:17:42 -07:00
Jason Volk
a68d97d22d ircd::util: Static assertion of va_rtti argument count. 2018-03-22 13:31:58 -07:00
Jason Volk
6dc834b9c9 ircd::util: Add unwind utils that assert whether exception is taking place. 2018-03-14 20:23:54 -07:00
Jason Volk
12fb9747a7 ircd::util: Add template to remove_all_pointers<T>. 2018-03-11 17:03:06 -07:00
Jason Volk
19e6db0a33 ircd::util: Add util to get what() from std::exception_ptr. 2018-03-08 08:23:50 -08:00
Jason Volk
a9b87a5c09 ircd::util: Add pointer transform suite. 2018-03-03 21:53:09 -08:00