Commit Graph

213 Commits

Author SHA1 Message Date
Deukhoofd d9aca71d32
Update to new Windows build container
continuous-integration/drone/push Build is failing Details
2020-07-10 14:12:22 +02:00
Deukhoofd 84052a2d94
Make StringViewLiteral use ConstEval
continuous-integration/drone/push Build is failing Details
2020-07-10 11:07:34 +02:00
Deukhoofd 0d2bec95e8
C Interface for random class. 2020-07-10 09:30:10 +02:00
Deukhoofd 950464ae79
Implements piping StringView into streams.
continuous-integration/drone/push Build is passing Details
2020-07-08 13:28:43 +02:00
Deukhoofd 97b15650f1
Intialize StringView fields to default values/
continuous-integration/drone/push Build is passing Details
2020-07-04 15:33:59 +02:00
Deukhoofd 25772e7d5a
Remove constexpr from non-constexpr function.
continuous-integration/drone/push Build is passing Details
2020-07-04 15:04:31 +02:00
Deukhoofd d3aacee0ef
Replace StringView with shared_ptr.
continuous-integration/drone/push Build is failing Details
2020-07-04 14:59:56 +02:00
Deukhoofd 5994299baa
Further tweaks to StringViews.
continuous-integration/drone/push Build is passing Details
2020-06-27 15:15:13 +02:00
Deukhoofd 9f5b8e9c83
Removed std::string_view ctor on StringView.
continuous-integration/drone/push Build is passing Details
2020-06-27 14:24:43 +02:00
Deukhoofd 083c00f85e
Changes for how Literal changes to normal StringView.
continuous-integration/drone/push Build is passing Details
2020-06-27 14:16:15 +02:00
Deukhoofd 773e765c83
Slight rework of StringView.
continuous-integration/drone/push Build is passing Details
2020-06-27 14:02:35 +02:00
Deukhoofd 030f82d34f
Reset pointer on charholder to prevent multiple deletions.
continuous-integration/drone/push Build is passing Details
2020-06-27 13:59:01 +02:00
Deukhoofd 49b5e2cfe9
Fixes Windows build.
continuous-integration/drone/push Build is passing Details
2020-06-27 13:35:29 +02:00
Deukhoofd f64224131b
Tweaks for StringView to make the backing value the owner of the string.
continuous-integration/drone/push Build is failing Details
2020-06-27 13:27:17 +02:00
Deukhoofd 544c541bc3
Remove dereference operator as it just causes issues.
continuous-integration/drone/push Build is passing Details
2020-06-26 17:49:42 +02:00
Deukhoofd 7da8a46c45
Hopefully fixes issues with incomplete types in BorrowedPtrs.
continuous-integration/drone/push Build is passing Details
2020-06-26 17:42:43 +02:00
Deukhoofd d3c9998afa
Fixes for dereference operator.
continuous-integration/drone/push Build is passing Details
2020-06-26 17:31:52 +02:00
Deukhoofd c08224ed26
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-06-26 17:18:50 +02:00
Deukhoofd 7fe8c80141
Fixed issue where the dereferencing function broke compilation on some compilers.
continuous-integration/drone/push Build is passing Details
2020-06-26 17:17:06 +02:00
Deukhoofd 72aad2a5e3
Fixed dereference operators being noexcept.
continuous-integration/drone/push Build is passing Details
2020-06-26 16:31:33 +02:00
Deukhoofd 4ffe9f10a3
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-06-26 16:27:17 +02:00
Deukhoofd e52b824a51
Mark StringView and StringViewLiteral as final.
continuous-integration/drone/push Build is passing Details
2020-06-26 16:25:07 +02:00
Deukhoofd 57f2d15723
Revert "Add virtual destructor to BasicStringView."
continuous-integration/drone/push Build is passing Details
This reverts commit 94fec63c
2020-06-26 16:20:46 +02:00
Deukhoofd 94fec63c1b
Add virtual destructor to BasicStringView.
continuous-integration/drone/push Build is failing Details
2020-06-26 16:17:19 +02:00
Deukhoofd 088f66c385
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-06-26 15:58:42 +02:00
Deukhoofd abca51d331
Large rework of the project, specifically the String classes.
continuous-integration/drone/push Build is passing Details
2020-06-26 15:56:00 +02:00
Deukhoofd 8eba3b28ff
Add dereference operator for BorrowedPtr.
continuous-integration/drone/push Build is passing Details
2020-06-26 13:13:46 +02:00
Deukhoofd d547046752
Assert BorrowedPtr is not null when trying to dereference it.
continuous-integration/drone/push Build is passing Details
2020-06-26 13:12:58 +02:00
Deukhoofd f59ec6c957
Follow code style with noexcept, add Const() function to BorrowedPtr to return a const pointer of itself.
continuous-integration/drone/push Build is passing Details
2020-06-20 17:45:41 +02:00
Deukhoofd 893aa969d5
Make BorrowedPtr hashable.
continuous-integration/drone/push Build is passing Details
2020-06-02 16:03:47 +02:00
Deukhoofd 4323e59ed4
Further fixes for Remove function on UniquePtrList
continuous-integration/drone/push Build is passing Details
2020-06-02 14:40:59 +02:00
Deukhoofd 44fc403fb6
Fixes for Remove function on UniquePtrList
continuous-integration/drone/push Build is passing Details
2020-06-02 14:28:09 +02:00
Deukhoofd 5196bed8aa
Implement Remove function for UniquePtrList.
continuous-integration/drone/push Build is passing Details
2020-06-02 13:57:40 +02:00
Deukhoofd ad2d3be7e4
Add iterator for const version of UniquePtrList.
continuous-integration/drone/push Build is passing Details
2020-05-31 18:50:22 +02:00
Deukhoofd a3a0859b94
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-05-31 17:16:20 +02:00
Deukhoofd 8ecf765ead
Make retrieve operation a const.
continuous-integration/drone/push Build is passing Details
2020-05-31 17:06:04 +02:00
Deukhoofd 262156fbd2
Allow initialization of UniquePtrList from vector of pointers.
continuous-integration/drone/push Build is passing Details
2020-05-31 16:58:45 +02:00
Deukhoofd bfe1fcc805
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-05-31 16:40:33 +02:00
Deukhoofd b7f1812153
Helper collection class that functions as list of unique pointers.
continuous-integration/drone/push Build is passing Details
2020-05-31 16:37:49 +02:00
Deukhoofd 0b740ee24d
Fixed cast functions on BorrowedPtr being invalid.
continuous-integration/drone/push Build is passing Details
2020-05-26 19:40:08 +02:00
Deukhoofd 90bda57d79
Renamed borrowed ptr to be in line with other types.
continuous-integration/drone/push Build is passing Details
2020-05-26 17:39:27 +02:00
Deukhoofd c8ca951dd8
Reduce namespace length further 2020-05-26 17:36:39 +02:00
Deukhoofd 3dc96de34b
Change namespace name so it's a lot less verbose.
continuous-integration/drone/push Build is passing Details
2020-05-26 17:21:08 +02:00
Deukhoofd 2ae108517d
Support for easy type casting from borrowed_ptr.
continuous-integration/drone/push Build is passing Details
2020-05-26 17:18:12 +02:00
Deukhoofd f1ebfd78f6
Mark several more borrowed_ptr functions as const.
continuous-integration/drone/push Build is passing Details
2020-05-26 14:01:52 +02:00
Deukhoofd a84c7ae45c
Implements assignment, some tweaks for borrowed_ptr.
continuous-integration/drone/push Build is passing Details
2020-05-26 13:44:06 +02:00
Deukhoofd 817b4c55d8
Fixes for style in Random class.
continuous-integration/drone/push Build is passing Details
2020-05-26 13:33:43 +02:00
Deukhoofd 373988c8b0
Removed overloaded equality members.
continuous-integration/drone/push Build is passing Details
2020-05-26 13:31:56 +02:00
Deukhoofd e599bc730f
Style changes for pcg_random to keep my CI from yelling at me.
continuous-integration/drone/push Build is passing Details
2020-05-26 13:24:40 +02:00
Deukhoofd 779ddd49e3
Replace old memory management tests with simple borrowed_ptr.cpp.
continuous-integration/drone/push Build is passing Details
2020-05-26 13:22:18 +02:00