Commit Graph

163 Commits

Author SHA1 Message Date
18e6af9cee More constexpr for find_meow, more constexpr tests 2020-01-03 16:59:34 -05:00
a67bc09a3e Fix standard version detection for msvc and void_t for certain gcc versions 2020-01-03 16:06:12 -05:00
f800ef49e4 Fix unchecked replacement. 2020-01-01 15:38:41 -05:00
3a4f2e9d83 Fixed exception checks for ranges, less repetition 2020-01-01 15:01:39 -05:00
aabc300c22 Adjust is_iterator 2019-12-30 22:02:50 -05:00
5845a73275 Fix InputIterator overloads 2019-12-30 21:12:20 -05:00
094c698541 Better constexpr support for insert and replace, fixed range overloads for insert and replace. 2019-12-30 16:44:17 -05:00
503e19f3f0 Enable exceptions 2019-12-26 17:25:40 -05:00
b46772da19 Unconditional noexcept when exceptions are disabled 2019-12-26 17:22:57 -05:00
60fcd0db87 Make data_impl constexpr for zero-size strings 2019-12-21 19:06:19 -05:00
71c82e4016 Remove redundant traits parameter 2019-12-20 18:21:28 -05:00
cff808d296 Call correct overload of swprintf 2019-12-20 02:45:45 -05:00
4e4dcce1f1 to_static_string and to_static_wstring overloads 2019-12-20 02:34:04 -05:00
c83e21e8f2 Remove trailing tokens after macro 2019-12-17 00:30:59 -05:00
f4fe54bb06 Add explicit error for clang 4 & 5 2019-12-16 23:50:57 -05:00
7c8ad32ff9 A object pointer value is only a constant expression if it points to an object with static storage duration. 2019-12-16 19:22:41 -05:00
68bb317c2a Remove testing macro 2019-12-16 19:06:34 -05:00
89da9ec945 Explicitly convert data_ to a pointer 2019-12-16 19:01:32 -05:00
d16e35cc0b Wrong exception thrown for capacity 2019-12-16 18:38:49 -05:00
0f4d2db416 Fix test and standalone support 2019-12-16 18:19:01 -05:00
41bb1a550d Add macro to disable exceptions 2019-12-16 17:36:12 -05:00
77030a7e70 Fixed overflow checks 2019-12-16 16:56:19 -05:00
937542fcad Added operator+ for operands of known size, more constexpr 2019-12-16 16:42:53 -05:00
8e903c4f1b constexpr reverse iterators 2019-12-16 13:56:16 -05:00
81dbac7ce9 Finish more complex exception specifications 2019-12-16 13:52:55 -05:00
e26c470c3a Renamed from fixed_string to static_string, added aliases 2019-12-16 12:23:46 -05:00
c3110b1b6c Merge review changes with master
* Initial constexpr support

* Remove invisible unicode

* Fix const function qualification

* Working constexpr
2019-12-16 00:51:47 -05:00
e15336de60 Changed ctor briefs, and guarded macros 2019-11-08 21:36:21 -05:00
4c0a93d679 Cleanup and update docs 2019-11-08 21:16:41 -05:00
ae94f411d9 Update readme and remove unneeded includes 2019-11-07 11:18:14 -05:00
575740a229 Added copyright 2019-11-06 19:39:03 -05:00
1532568433 Update docs, add docs for compare 2019-11-06 19:39:03 -05:00
335255c0ff Added substr docs 2019-11-06 19:39:03 -05:00
84de1a3f56 Added docs for replace 2019-11-06 19:38:50 -05:00
1d2fbacc31 Fixed small bug in replace 2019-11-06 19:38:50 -05:00
71804b8acf Better inside string check, and addtional tests for better coverage 2019-11-06 19:38:50 -05:00
7a8a158857 Protected std::min/max calls 2019-11-06 19:38:50 -05:00
0f2ac40d48 Simplified insert for iterators, fixed overlapping copies 2019-11-06 19:38:49 -05:00
25de60cd36 Fixed more shadowing issues 2019-11-06 19:38:49 -05:00
3a070e020e Fixed name hiding for template parameters 2019-11-06 19:38:49 -05:00
7a0a720a42 Minor bug fixs for find and replace, more tests 2019-11-06 19:38:49 -05:00
1a65754a1f Back to requiring a string_view implementation 2019-11-06 19:38:49 -05:00
5c81f47f7f Inlined free functions for ODR 2019-11-06 19:38:49 -05:00
fca9d8e01f Added assert macros 2019-11-06 19:38:48 -05:00
58ef0fb908 Guarded static_asserts 2019-11-06 19:38:34 -05:00
79df90dde0 Removed more string_view dependency 2019-11-06 19:38:11 -05:00
9156aa8ec8 Removed unneeded copies 2019-11-06 19:37:52 -05:00
b8695d8644 Removed some string_view dependency 2019-11-06 19:37:10 -05:00
885aa38d3e Replace now works when the source is inside the string 2019-10-19 17:09:39 -04:00
906c86acf2 insert now handles when source is inside the string 2019-10-19 12:20:44 -04:00