169 Commits

Author SHA1 Message Date
a21c7312f5 Change node names to list_node 2022-07-19 17:43:21 -07:00
11d64d12a0 I couldn't figure out how to make construct_at work with an aggregate. I checked the libstdc++ sources and they call placement new directly, so I'm giving up on that. Changed node over to manual constructors and it seems to work much better. Also made it so list constructors don't call 'assign' because that required stored types to implement assignment operators during construction. 2022-07-19 17:39:29 -07:00
b6a8c83e0b Add list class 2022-07-19 16:44:34 -07:00
c4d83b0310 Update detail::value_iterator to become constant_iterator 2022-07-19 16:44:25 -07:00
858f7533e6 Make hasallocator take advantage of empty base optimization for simpler code 2022-07-19 16:43:19 -07:00
43dc4b6654 Add some functionality to make filerd more usable 2022-07-19 16:42:47 -07:00
e636ba47fe Fix insert_impl... again 2022-07-16 19:55:33 -07:00
13ce1550e2 Fix string_view not checking for oversized needles during in search function 2022-07-16 18:31:13 -07:00
0ac55f3699 Improve build times by not including functional 2022-07-15 16:37:42 -07:00
1d06516181 Use correct memcpy 2022-07-15 16:37:06 -07:00
26b7723f19 Make buffer actually constexpr-able 2022-07-15 16:36:54 -07:00
c054600b05 Add success printout to tests to make it easier for robert to tell if they succeeded or not 2022-06-30 12:49:48 -07:00
eb10cf1375 Make dll builds on msvc output to same directory as tests so they should be able to run without manually copying 2022-06-30 12:42:43 -07:00
503efeb6b5 Update filerd to use std namespace types/functions. 2022-06-30 12:22:09 -07:00
6372262304 Fix msvc warnings 2022-06-30 12:14:46 -07:00
7ee0beb343 Remove some dead code and fix format output when to_chars gives a value other than 'nan' or 'inf' 2022-06-30 12:14:23 -07:00
dfa4202e55 Add some formatting tests 2022-06-30 11:37:58 -07:00
5eb7821cfc Fix some formatting output issues 2022-06-30 11:37:46 -07:00
d4ab8fb401 List initialize default integer types because I think it looks better 2022-06-30 10:43:35 -07:00
3c9b318218 Fix warning 2022-06-30 10:43:10 -07:00
4e764d2205 General header #include cleanup 2022-06-29 17:59:49 -07:00
50f6f81a05 Simplify print logic and make utf-8, utf-16, and utf-32 encodings detectible 2022-06-29 17:48:53 -07:00
2f64eb40f0 Fix MSVC build failure 2022-06-29 17:46:57 -07:00
1165165657 Fix utility not using the correct functions for runtime 2022-06-29 17:34:26 -07:00
31327248e0 Change buffer to use allocator traits 2022-06-29 17:32:02 -07:00
d9cba881ac Remove excess include 2022-06-26 14:56:41 -07:00
272b5c1238 Use invoke_result_t in threadpool 2022-06-26 14:56:24 -07:00
2ecbff1cdd Clean up rexy::hash stuff 2022-06-26 14:20:44 -07:00
fb19bdec67 Macro to check for c++20 support instead of long form writing 2022-06-26 11:55:56 -07:00
7f47a4cbf8 Make allocator and string_base compat easier to read and remove unneccessary concepts subdirectory 2022-06-26 11:55:35 -07:00
5a6d7023ac Separate versioning compat in traits 2022-06-25 09:06:13 -07:00
329a79c3ea Fix c++17 build failure 2022-06-24 23:02:27 -07:00
5ce29908df Change size_t to std::size_t 2022-06-23 15:54:09 -07:00
61987d937b Add rsearch to basic_string to find last match in buffer 2022-06-23 15:39:35 -07:00
cdd51a6e3a Remove deprecated string functions. Add replace functions to basic_string. 2022-06-23 15:03:40 -07:00
2a69be29a6 Some minor cleanup to macros and future standard stuff 2022-06-22 18:18:38 -07:00
37e02ca871 Fix C++17 build 2022-06-22 16:43:34 -07:00
3d17d3ec8c Add rexy::format and rexy::print functions 2022-06-22 13:42:53 -07:00
1bc234cbca Change API macro names to be more consistent. 2022-06-22 13:42:07 -07:00
24ef556ab7 Improve basic_string type to include more functionality of std::string. Also add option to disable SSO if so desired 2022-06-22 13:30:00 -07:00
1799c1640b Add insertion functions to basic_string. Add size function to basic_string. 2022-06-21 19:31:07 -07:00
00355a64c6 Update cx::string to be more level with string_view 2022-06-19 18:46:02 -07:00
e5d8c0f567 Move string_view literal operators to str_literals namespace 2022-06-19 11:39:54 -07:00
d5a0f1927d Add iterators to cx/string and fix including null terminator in length when created from an array 2022-06-19 11:27:57 -07:00
588835d80a Fix strcmp not using 'if constexpr' and add strncmp 2022-06-19 11:27:26 -07:00
da5eb13d94 Fix not using constexpr-able version of strlen in strings 2022-06-18 10:38:08 -07:00
6937f1a885 Fix GCC >= 10 -Wstringop-overflow warning when build with -O3 2022-06-18 10:33:23 -07:00
a2ba8b9eb6 Separate debug defines from debug_print to allow using them in other stuff 2022-06-17 13:43:30 -07:00
56d680e036 Add substring function to string_view 2022-06-17 13:41:10 -07:00
a7474d5939 Update cx::string to have better c++20 support 2022-06-17 13:40:48 -07:00