0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 15:00:51 +01:00
Commit graph

94 commits

Author SHA1 Message Date
Jason Volk
df38f2c8fa ircd::util: Add reentrancy assertion utility. 2017-12-24 21:54:59 -07:00
Jason Volk
18ef10643b ircd::util: Narrow the coverage of the size() -> sizeof(T) template. 2017-12-24 21:54:59 -07:00
Jason Volk
f37311a3f1 ircd::util: Add an endian bswap; add more data()/size() participants. 2017-12-24 21:54:58 -07:00
Jason Volk
e7036fa79f ircd::util: Add is_specialization_of template utility. 2017-12-13 14:39:41 -07:00
Jason Volk
6b287f958c ircd: Add these participating size() and data() overloads for C arrays. 2017-12-12 14:59:40 -07:00
Jason Volk
f3b94d31f5 ircd: Split off tuple.h from util.h 2017-12-12 14:59:39 -07:00
Jason Volk
1b8e93d487 ircd::util: Consolidate a few typographical constexprs here. 2017-11-30 11:23:45 -08:00
Jason Volk
0da55e93aa ircd::util: Add powerof2() bithack. 2017-11-30 11:23:44 -08:00
Jason Volk
3680ae37f2 ircd::util: Add instance_list pattern utility. 2017-11-30 11:23:43 -08:00
Jason Volk
6572a45d77 ircd::util: Fix this type; should be int. 2017-11-30 11:23:42 -08:00
Jason Volk
ecf5c10547 ircd::util: Add resizebuf() to ostringstream convenience suite. 2017-11-30 11:23:42 -08:00
Jason Volk
45b853c912 ircd::util: Add a convenience wrapper for iostream pubsetbuf. 2017-11-30 11:23:41 -08:00
Jason Volk
bc3e4e3fce ircd::util: Fix move support for the unique_iterator. 2017-11-30 11:23:40 -08:00
Jason Volk
9b1e76e242 ircd::util: Add a classic is_zero functor. 2017-10-11 20:54:01 -07:00
Jason Volk
14e5306713 ircd::util: Add uninterruptible_syscall() for use with some POSIX syscalls. 2017-10-11 20:54:01 -07:00
Jason Volk
90f9c0e39d ircd::util: Add an unlock_guard. 2017-10-03 04:17:09 -07:00
Jason Volk
9acdb31349 ircd::util: Move these macros up the file out of obscurity. 2017-09-24 18:16:41 -07:00
Jason Volk
b207b9e909 ircd: Rename ircd::scope to ircd::unwind. 2017-09-24 18:16:41 -07:00
Jason Volk
b7e1b3cf43 ircd: Split off hash.h from util.h; reorder stdinc headers. 2017-09-24 18:16:41 -07:00
Jason Volk
34be7b1d77 ircd::util: Add enum-flag accumulator util. 2017-09-24 18:16:41 -07:00
Jason Volk
21b6f5d065 ircd::util: Iterator pair. 2017-09-24 18:16:36 -07:00
Jason Volk
296fd9183b ircd::util: Add ctype() template for testing string ranges. 2017-09-24 18:16:35 -07:00
Jason Volk
54d6793f59 Update various documentation and comments. 2017-09-24 18:16:33 -07:00
Jason Volk
c3a88edeee ircd: Split string_view out of util::. 2017-09-24 18:16:33 -07:00
Jason Volk
0c145d0fbd ircd::util: Add complement to std::for_each with our ircd::until(). 2017-09-08 03:47:51 -07:00
Jason Volk
481eff3baa ircd::util: Rename binary_view to byte_view. 2017-09-08 03:47:51 -07:00
Jason Volk
e7650334dc ircd::util: Move operator!() functions / minor cleanup. 2017-09-08 03:47:51 -07:00
Jason Volk
c627095f51 ircd: Add date.h header for date and time utilities. 2017-09-08 03:47:51 -07:00
Jason Volk
892ad69f5b ircd::util: Add IRCD_USING_OVERLOAD macro; minor cleanup. 2017-09-08 03:47:50 -07:00
Jason Volk
dc78c4743d ircd::util: Simplify. 2017-09-08 03:47:50 -07:00
Jason Volk
4013c301e5 ircd::util: Add binary_view utility. 2017-09-08 03:47:49 -07:00
Jason Volk
b16dc9598a ircd::util: Add additional array-based constructors to string_view. 2017-08-23 15:52:15 -06:00
Jason Volk
1121d99f18 ircd::util: Fix typo. 2017-08-23 15:52:15 -06:00
Jason Volk
8acd5f5ec9 ircd::util: Add binary_view convenience cast to string_view. 2017-08-23 15:52:15 -06:00
Jason Volk
7a9f765faa ircd::util: Minor clarifications to va_rtti. 2017-08-23 15:52:14 -06:00
Jason Volk
77a6bc2d51 ircd::util: Simplify unique_iterator related. 2017-08-23 15:52:14 -06:00
Jason Volk
b0f5020c19 ircd: Cleanup/comment stdinc.h; move init util to util.h 2017-08-23 15:40:33 -06:00
Jason Volk
7197491364 ircd::util: Add constexpr kronecker delta. 2017-08-23 14:58:21 -06:00
Jason Volk
3d536d26b6 ircd::util: Fixes to constexpr tuple utils. 2017-08-23 14:57:58 -06:00
Jason Volk
22419a2087 ircd::util: Improve tuple related utils and iterations. 2017-04-07 16:00:18 -07:00
Jason Volk
8955328479 ircd::util: Add basic STL map transformation functors. 2017-04-06 17:45:50 -07:00
Jason Volk
a79d1ab342 ircd::util: Add pop_back()/pop_front() to string_view. 2017-04-04 16:10:29 -07:00
Jason Volk
e43b67d146 ircd::util: Add RAII container for iterators. 2017-04-04 16:10:29 -07:00
Jason Volk
5f70ce28d0 ircd::util: Document string_view::insert(). 2017-04-02 20:50:32 -07:00
Jason Volk
0a1bf7f47f ircd::util: Add iterator pair type. 2017-04-02 20:18:54 -07:00
Jason Volk
a8e6f4fb0a ircd::util: Add vector_view. 2017-04-02 20:18:38 -07:00
Jason Volk
c2ca0637a7 ircd::util: Expand the va_rtti array to 12 elements (192 bytes). 2017-03-30 16:04:19 -07:00
Jason Volk
c8953c038d ircd::util: Add non-const overloads to tuple iterations. 2017-03-30 16:04:19 -07:00
Jason Volk
5a7852a0d4 ircd: Various cleanup. 2017-03-30 16:04:19 -07:00
Jason Volk
e061f7326f ircd::util: Follow up for_each() with tuple until(). 2017-03-20 19:13:12 -07:00