133 Commits

Author SHA1 Message Date
a17886b706 Fix bug in mpmc_queue causing objects larger than cacheline to fail during compilation v0.1.1 2021-06-18 21:46:55 -07:00
c5776e8d2f Fix soname 2021-04-11 19:25:02 -07:00
aa63f840f8 Add version directive v0.1.0 2021-04-11 19:13:08 -07:00
baaec5dfec Fix issue with building tests with static library 2021-04-11 15:13:38 -07:00
0695bfb72c Change LICENSE for AGPLv3 to GPLv3 2021-04-11 14:56:24 -07:00
dfe0073f03 Fix missing threadpool from result 2021-04-11 14:52:45 -07:00
09b2a21742 Add license 2021-04-09 17:31:30 -07:00
774b9362c0 Add meta.hpp 2021-04-09 17:26:18 -07:00
d135b54f1c Fix incorrect preprocessor include check 2021-04-06 11:16:31 -07:00
rexy712
f0d9d6f6ab Fix linker flags since threadpool needs pthreads 2020-09-25 06:12:03 -07:00
rexy712
4c81c2b8b8 fix build error with libc++ v8-v10 2020-09-24 05:11:20 -07:00
rexy712
b22c525407 Add mpmc_queue classes taken from our_dick project 2020-09-20 15:06:44 -07:00
rexy712
8873049f9f Some algorithm.hpp clarifications 2020-09-20 14:49:05 -07:00
rexy712
22903db4c1 Fix license disclaimers 2020-09-19 10:42:45 -07:00
rexy712
28c8caae0a Add string searching with default option of two-way algorithm or user specified algorithm. Rearrange file structure to hopefully make things not seem arbitrarily placed in the cx subfolder 2020-09-19 09:44:05 -07:00
rexy712
2ea8c617f0 Add string substring operation 2020-09-17 07:23:06 -07:00
rexy712
f930dde989 Fix missing type aliases in basic_string 2020-08-13 15:42:35 -07:00
rexy712
9fd45628a5 Add binary iterators 2020-08-12 14:33:12 -07:00
rexy712
dc68d52dd4 Add iterators to rexy::string_base 2020-08-11 14:05:19 -07:00
rexy712
d90be8e1a8 Merge branch 'master' of ssh://rexy712-server:1995/var/git/repos/rexy712/rexylib 2020-08-11 13:34:43 -07:00
rexy712
a3b1d2baa7 Fix string operators taking const char* instead of relevant const_pointer. Add deduction guides to static_string. Add compare function to string_base 2020-08-11 13:34:36 -07:00
rexy712
ea8c15b27e Rename m__data to m_data in string_base. Forgot to fix the temp name much earlier. Other basic readability improvements 2020-08-06 15:32:04 -07:00
rexy712
05e2fa2406 Add compare() member to string_base 2020-08-06 15:27:56 -07:00
rexy712
8703d0089f Add member typedefs to cx::string 2020-08-04 15:49:23 -07:00
rexy712
1648d96232 Add member typedefs to rexy::binary 2020-08-04 15:39:35 -07:00
rexy712
710ea2a8bf Start work on basic tests 2020-08-04 10:36:22 -07:00
rexy712
0f6866e982 Add allocator to public facing api 2020-08-04 10:36:11 -07:00
rexy712
ab52132fe1 Imperfect, but still functional and fully c++17 standard compliant Small String Optimization 2020-08-03 17:38:52 -07:00
rexy712
8cf91a7505 Fix link errors 2020-08-03 13:29:58 -07:00
rexy712
d98c40dac8 Add explicit template instantiation strings for different char types. add operator _ss overloads for different char types 2020-08-03 13:28:11 -07:00
rexy712
f7b0822dd2 Generisize string types 2020-08-01 01:28:29 -07:00
rexy712
55c908686f Fix inheritance access modifier for allocator derived types 2020-07-28 09:31:36 -07:00
rexy712
a10c12c1cf Change allocator to conform to c++ standard library allocators 2020-07-28 09:07:42 -07:00
rexy712
f4aa7f8564 Change naming convention for template impl of standard class 2020-07-28 06:22:33 -07:00
rexy712
c83d2ce686 Explicit template instantiation for rexy::string and rexy::binary 2020-07-28 06:18:20 -07:00
rexy712
8ae27c1ba3 Remove threadpool from shared library since it needlessly pulls in pthread dep 2020-07-19 08:41:24 -07:00
rexy712
da7cffcf4e Fix clang errors 2020-07-18 01:49:13 -07:00
rexy712
7d659cd05e Explicit string_intermediary constructor 2020-07-17 22:45:15 -07:00
rexy712
b1c2d260ee Fix string 0 length segfault. Bring binary ctor/assignment up to par with strings 2020-07-17 15:48:56 -07:00
rexy712
8c783c48fa Add c_str function to strings. Mainly just an aesthetic change for me 2020-07-17 14:39:06 -07:00
rexy712
03e81c0457 Add threadpool::invalidate function 2020-07-15 04:24:44 -07:00
rexy712
5d20755a66 Unlock in threadpool copy ctor 2020-07-09 11:14:43 -07:00
rexy712
14ec1b159d Add basic threadpool 2020-07-07 15:47:34 -07:00
rexy712
dfe82a4181 fix clang warning 2020-06-24 03:12:20 -07:00
rexy712
4778d451d6 Fix vector end 2020-06-24 03:09:06 -07:00
rexy712
4f65c38507 Fix circular dependencies on string hashing 2020-05-14 19:00:25 -07:00
rexy712
4e74e263c2 Fix issue with boolean specialization iterators 2020-05-14 19:00:11 -07:00
rexy712
794cc547b7 Add specializations for cx::vector and cx::array on bool type 2020-05-12 10:43:22 -07:00
rexy712
0d33ec9444 Generalize expression templates and bring binary_data up to par with string_intermediary 2020-05-08 22:40:03 -07:00
rexy712
ee1c180071 Fix read on invalid byte 2020-05-08 11:07:32 -07:00