323 Commits

Author SHA1 Message Date
Krystian Stasiowski
503e19f3f0 Enable exceptions 2019-12-26 17:25:40 -05:00
Krystian Stasiowski
b46772da19 Unconditional noexcept when exceptions are disabled 2019-12-26 17:22:57 -05:00
Krystian Stasiowski
60fcd0db87 Make data_impl constexpr for zero-size strings 2019-12-21 19:06:19 -05:00
Krystian Stasiowski
71c82e4016 Remove redundant traits parameter 2019-12-20 18:21:28 -05:00
Krystian Stasiowski
cff808d296 Call correct overload of swprintf 2019-12-20 02:45:45 -05:00
Krystian Stasiowski
45c72ff7fe Update tests 2019-12-20 02:36:32 -05:00
Krystian Stasiowski
4e4dcce1f1 to_static_string and to_static_wstring overloads 2019-12-20 02:34:04 -05:00
Krystian Stasiowski
c83e21e8f2 Remove trailing tokens after macro 2019-12-17 00:30:59 -05:00
Krystian Stasiowski
9c61b2fc15 Update tests 2019-12-16 23:54:20 -05:00
Krystian Stasiowski
f4fe54bb06 Add explicit error for clang 4 & 5 2019-12-16 23:50:57 -05:00
Krystian Stasiowski
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
Krystian Stasiowski
68bb317c2a Remove testing macro 2019-12-16 19:06:34 -05:00
Krystian Stasiowski
89da9ec945 Explicitly convert data_ to a pointer 2019-12-16 19:01:32 -05:00
Krystian Stasiowski
d16e35cc0b Wrong exception thrown for capacity 2019-12-16 18:38:49 -05:00
Krystian Stasiowski
d9848a83b6 More fixes for tests 2019-12-16 18:31:31 -05:00
Krystian Stasiowski
3e967fb4ea Fixed small renaming issue 2019-12-16 18:23:57 -05:00
Krystian Stasiowski
0f4d2db416 Fix test and standalone support 2019-12-16 18:19:01 -05:00
Krystian Stasiowski
41bb1a550d Add macro to disable exceptions 2019-12-16 17:36:12 -05:00
Krystian Stasiowski
77030a7e70 Fixed overflow checks 2019-12-16 16:56:19 -05:00
Krystian Stasiowski
937542fcad Added operator+ for operands of known size, more constexpr 2019-12-16 16:42:53 -05:00
Krystian Stasiowski
8e903c4f1b constexpr reverse iterators 2019-12-16 13:56:16 -05:00
Krystian Stasiowski
81dbac7ce9 Finish more complex exception specifications 2019-12-16 13:52:55 -05:00
Krystian Stasiowski
e26c470c3a Renamed from fixed_string to static_string, added aliases 2019-12-16 12:23:46 -05:00
Krystian Stasiowski
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
Krystian Stasiowski
aa0fad2304 Update title 2019-12-15 20:03:49 -05:00
Krystian Stasiowski
d34f039047 Change README to static_string 2019-12-15 20:03:33 -05:00
Krystian Stasiowski
9730545e0f Update appveyor badge 2019-11-12 20:25:55 -05:00
Krystian Stasiowski
b24ddab273 Update badges 2019-11-12 19:23:21 -05:00
Krystian Stasiowski
f09a0c0fc4 Add link to docs 2019-11-12 19:12:24 -05:00
Krystian Stasiowski
e15336de60 Changed ctor briefs, and guarded macros 2019-11-08 21:36:21 -05:00
Krystian Stasiowski
4c0a93d679 Cleanup and update docs 2019-11-08 21:16:41 -05:00
Krystian Stasiowski
566a163536 Update docs with design 2019-11-07 23:25:18 -05:00
Krystian Stasiowski
ae94f411d9 Update readme and remove unneeded includes 2019-11-07 11:18:14 -05:00
Krystian Stasiowski
104a439f68 Add copyright 2019-11-07 10:10:30 -05:00
Krystian Stasiowski
8b1bda6273 Updated redirect 2019-11-06 19:39:22 -05:00
Krystian Stasiowski
575740a229 Added copyright 2019-11-06 19:39:03 -05:00
Krystian Stasiowski
1532568433 Update docs, add docs for compare 2019-11-06 19:39:03 -05:00
Krystian Stasiowski
335255c0ff Added substr docs 2019-11-06 19:39:03 -05:00
Krystian Stasiowski
84de1a3f56 Added docs for replace 2019-11-06 19:38:50 -05:00
Krystian Stasiowski
1d2fbacc31 Fixed small bug in replace 2019-11-06 19:38:50 -05:00
Krystian Stasiowski
71804b8acf Better inside string check, and addtional tests for better coverage 2019-11-06 19:38:50 -05:00
Krystian Stasiowski
7a8a158857 Protected std::min/max calls 2019-11-06 19:38:50 -05:00
Krystian Stasiowski
0f2ac40d48 Simplified insert for iterators, fixed overlapping copies 2019-11-06 19:38:49 -05:00
Krystian Stasiowski
25de60cd36 Fixed more shadowing issues 2019-11-06 19:38:49 -05:00
Krystian Stasiowski
3a070e020e Fixed name hiding for template parameters 2019-11-06 19:38:49 -05:00
Krystian Stasiowski
829c099a3c Finish up replace tests, and reorganize 2019-11-06 19:38:49 -05:00
Krystian Stasiowski
c46e1c1459 Added missing return in tests 2019-11-06 19:38:49 -05:00
Krystian Stasiowski
7a0a720a42 Minor bug fixs for find and replace, more tests 2019-11-06 19:38:49 -05:00
Krystian Stasiowski
193439e3ef Added tests for find_meow, insert, and replace 2019-11-06 19:38:49 -05:00
Krystian Stasiowski
1a65754a1f Back to requiring a string_view implementation 2019-11-06 19:38:49 -05:00