Commit Graph

27 Commits

Author SHA1 Message Date
Deukhoofd efdce7b74c
Several fixes for new memory model.
continuous-integration/drone/push Build is failing Details
2020-12-11 15:12:17 +01:00
Deukhoofd 0e6ae18a32
Reworked memory model.
continuous-integration/drone/push Build is failing Details
2020-12-11 14:58:16 +01:00
Deukhoofd 51c7ba1c50
Use a precompiled header for many std includes.
continuous-integration/drone/push Build is passing Details
2020-09-25 11:06:55 +02:00
Deukhoofd 74d7e23056
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-09-24 21:02:22 +02:00
Deukhoofd f20b55b0d5
Lots more documentation.
continuous-integration/drone/push Build is failing Details
2020-09-24 20:40:21 +02:00
Deukhoofd 31b63d56db
Lots of documentation.
continuous-integration/drone/push Build is passing Details
2020-09-22 19:32:40 +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 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 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 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
Deukhoofd 2e227a2688
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-04-28 16:55:00 +02:00
Deukhoofd 4f563e6e67
Allow functions for GetNonNull and GetOptional to work when const.
continuous-integration/drone/push Build is passing Details
2020-03-30 19:06:08 +02:00
Deukhoofd 4c1ca2e822
Allow transferring borrowedPtr into NonNull variant and vice versa.
continuous-integration/drone/push Build is passing Details
2020-03-30 18:52:08 +02:00
Deukhoofd f8b4d79e28
Allow access of raw template type when const.
continuous-integration/drone/push Build is passing Details
2020-03-30 18:29:49 +02:00
Deukhoofd 96b2bd61ab
Default the BorrowedPtr and OwnPtr to nullptr.
continuous-integration/drone/push Build is passing Details
2020-03-30 17:41:08 +02:00
Deukhoofd 6c5fe1bf93
Allow blank constructors for pointer types. 2020-03-30 17:28:21 +02:00
Deukhoofd 74ac2dbbc3
More functionality for memory classes.
continuous-integration/drone/push Build is passing Details
2020-03-29 18:09:55 +02:00
Deukhoofd 872c275bc7
Support for pointer holder outline.
continuous-integration/drone/push Build is passing Details
2020-03-28 21:08:55 +01:00