75 Commits

Author SHA1 Message Date
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
rexy712
2a708212c0 Split binary into 2 files 2020-05-08 10:34:55 -07:00
rexy712
25599e61ec Add some utility overloads 2020-05-07 15:28:21 -07:00
rexy712
a4487f29e1 Add ability to check if hashmap key is valid 2020-05-07 15:28:06 -07:00
rexy712
0318efe1e6 Remove hash default arguments 2020-05-07 11:58:59 -07:00
rexy712
ef5cccee73 move quicksort partitioner to detail namespace 2020-05-07 11:57:06 -07:00
rexy712
31a177fc86 Simplify same string details and fix a couple foreseeable bugs 2020-05-07 11:55:40 -07:00
rexy712
d876f65e7b Fix cx::swap to use move semantics 2020-05-07 11:54:56 -07:00
rexy712
981e57b34c Improve binary constexpr-ness and exception specs 2020-05-07 11:54:28 -07:00