Commit Graph

32 Commits

Author SHA1 Message Date
Deukhoofd c3606c25f6
Replaces some overrides with final for minor performance gains. 2020-10-15 17:54:06 +02:00
Deukhoofd 5fcebd4d4d
Implements faster hash mechanic for StringView. 2020-10-09 13:23:32 +02:00
Deukhoofd 51c7ba1c50
Use a precompiled header for many std includes. 2020-09-25 11:06:55 +02:00
Deukhoofd 74d7e23056
Style fixes. 2020-09-24 21:02:22 +02:00
Deukhoofd 2e93cd65c5
Remove constevals for now, until mingw32-w64 supports it on the build server. 2020-09-24 20:54:11 +02:00
Deukhoofd f20b55b0d5
Lots more documentation. 2020-09-24 20:40:21 +02:00
Deukhoofd 31b63d56db
Lots of documentation. 2020-09-22 19:32:40 +02:00
Deukhoofd 3f4b026071
Header cleanup. 2020-09-21 14:01:19 +02:00
Deukhoofd 74ebb40afc
Fixes build. 2020-08-08 12:20:20 +02:00
Deukhoofd 0d9ea1d3a3
Changes empty static StringView, as it caused conflicts with older Empty bool checker. 2020-08-08 12:10:25 +02:00
Deukhoofd f330e8a9e0
Fixes naming. 2020-08-08 11:41:21 +02:00
Deukhoofd d8c3fe1436
Add support for simple empty StringView. 2020-08-08 11:26:46 +02:00
Deukhoofd 4f5ae70634
Cleanup for the cmake file. 2020-07-17 12:15:32 +02:00
Deukhoofd eb3e174877
Reset to before c++20 features that required clang. 2020-07-12 15:06:20 +02:00
Deukhoofd 84052a2d94
Make StringViewLiteral use ConstEval 2020-07-10 11:07:34 +02:00
Deukhoofd 950464ae79
Implements piping StringView into streams. 2020-07-08 13:28:43 +02:00
Deukhoofd 97b15650f1
Intialize StringView fields to default values/ 2020-07-04 15:33:59 +02:00
Deukhoofd 25772e7d5a
Remove constexpr from non-constexpr function. 2020-07-04 15:04:31 +02:00
Deukhoofd d3aacee0ef
Replace StringView with shared_ptr. 2020-07-04 14:59:56 +02:00
Deukhoofd 5994299baa
Further tweaks to StringViews. 2020-06-27 15:15:13 +02:00
Deukhoofd 9f5b8e9c83
Removed std::string_view ctor on StringView. 2020-06-27 14:24:43 +02:00
Deukhoofd 083c00f85e
Changes for how Literal changes to normal StringView. 2020-06-27 14:16:15 +02:00
Deukhoofd 773e765c83
Slight rework of StringView. 2020-06-27 14:02:35 +02:00
Deukhoofd 030f82d34f
Reset pointer on charholder to prevent multiple deletions. 2020-06-27 13:59:01 +02:00
Deukhoofd 49b5e2cfe9
Fixes Windows build. 2020-06-27 13:35:29 +02:00
Deukhoofd f64224131b
Tweaks for StringView to make the backing value the owner of the string. 2020-06-27 13:27:17 +02:00
Deukhoofd 4ffe9f10a3
Style fixes. 2020-06-26 16:27:17 +02:00
Deukhoofd e52b824a51
Mark StringView and StringViewLiteral as final. 2020-06-26 16:25:07 +02:00
Deukhoofd 57f2d15723
Revert "Add virtual destructor to BasicStringView."
This reverts commit 94fec63c
2020-06-26 16:20:46 +02:00
Deukhoofd 94fec63c1b
Add virtual destructor to BasicStringView. 2020-06-26 16:17:19 +02:00
Deukhoofd 088f66c385
Style fixes. 2020-06-26 15:58:42 +02:00
Deukhoofd abca51d331
Large rework of the project, specifically the String classes. 2020-06-26 15:56:00 +02:00