Commit Graph

83 Commits

Author SHA1 Message Date
Deukhoofd 69714084d6
Style fixes. 2021-11-21 12:34:00 +01:00
Deukhoofd ea5c824d34
Fixes for Windows.
continuous-integration/drone/push Build is passing Details
2021-10-30 13:38:52 +02:00
Deukhoofd b72685ff05
Removes noexcept from UniquePtrList constructor.
continuous-integration/drone/push Build is failing Details
2021-10-30 12:59:36 +02:00
Deukhoofd dbf6fbc1db
Adds documentation, style fixes.
continuous-integration/drone/push Build is failing Details
2021-09-25 17:59:06 +02:00
Deukhoofd 73b2270fca
Further fixes for new convenience functions.
continuous-integration/drone/push Build is failing Details
2021-09-25 14:34:34 +02:00
Deukhoofd b7c9944784
Fixes invalid declaration
continuous-integration/drone/push Build is failing Details
2021-09-25 14:30:09 +02:00
Deukhoofd a2b52c5ed5
Adds helper functions to the list types.
continuous-integration/drone/push Build is failing Details
2021-09-25 14:21:31 +02:00
Deukhoofd 54c5422cda
Adds helper functions for ScopedPtr
continuous-integration/drone/push Build is passing Details
2021-08-29 16:23:04 +02:00
Deukhoofd a0488d7078
Fixes Windows issues
continuous-integration/drone/push Build is passing Details
2021-06-20 12:05:30 +02:00
Deukhoofd fe523f6c0d
Show actual length when logging out of bounds errors on lists.
continuous-integration/drone/push Build is passing Details
2021-04-17 14:49:29 +02:00
Deukhoofd 6ef9a6d67b
When calling Clear on UniquePtrList, also clear the vector.
continuous-integration/drone/push Build is passing Details
2021-04-14 19:27:56 +02:00
Deukhoofd b3ab6dab59
TakeOwnership shouldn't be const.
continuous-integration/drone/push Build is passing Details
2021-03-27 12:23:31 +01:00
Deukhoofd 5274ba735c
Further fixes for optional scoped ptr.
continuous-integration/drone/push Build is passing Details
2021-03-27 12:10:33 +01:00
Deukhoofd c805b4eee8
Fixes for OptionalScopedPtr.
continuous-integration/drone/push Build is passing Details
2021-03-27 12:03:00 +01:00
Deukhoofd 29ac434679
Adds implicit cast to raw pointer to ScopedPtr.
continuous-integration/drone/push Build is passing Details
2021-03-27 11:08:09 +01:00
Deukhoofd ce1268b1de
Adds OptionalScopedPtr, made ScopedPtr non nullable, fixes some APIs on the optional pointer variants.
continuous-integration/drone/push Build is passing Details
2021-03-27 11:03:41 +01:00
Deukhoofd 0e49c58647
Delete comparison with nullptr for non-null pointers.
continuous-integration/drone/push Build is passing Details
2020-12-13 11:51:47 +01:00
Deukhoofd 90bb8d54b6
Rename Assert.hpp --> Ensure.hpp, style fixes.
continuous-integration/drone/push Build is passing Details
2020-12-13 11:45:00 +01:00
Deukhoofd 4e854516c1
Rename Assert macro to Ensure, clean up exception to be in line with THROW.
continuous-integration/drone/push Build is passing Details
2020-12-13 11:41:41 +01:00
Deukhoofd 4466aeeee6
Fixes OptionalBorrowedPtr casts.
continuous-integration/drone/push Build is passing Details
2020-12-12 13:50:09 +01:00
Deukhoofd 362e4bf59b
Fixes inequality with raw pointer with smart pointers being inverted.
continuous-integration/drone/push Build is passing Details
2020-12-12 12:10:37 +01:00
Deukhoofd 7ec2a3f2b0
Fixes naming.
continuous-integration/drone/push Build is passing Details
2020-12-12 11:57:47 +01:00
Deukhoofd b909fc720a
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-12-12 11:56:13 +01:00
Deukhoofd a972162d6e
Adds OptionalUniquePtrList
continuous-integration/drone/push Build is passing Details
2020-12-12 11:53:32 +01:00
Deukhoofd 9f064c1e25
Fixes optional pointers.
continuous-integration/drone/push Build is passing Details
2020-12-12 11:37:19 +01:00
Deukhoofd f704a6c2f7
Fixes copy constructor in OptionalBorrowedPtr being broken.
continuous-integration/drone/push Build is passing Details
2020-12-12 11:30:22 +01:00
Deukhoofd 5ef9d5f6fc
Fixes assignment of raw pointers to smart pointers being broken.
continuous-integration/drone/push Build is passing Details
2020-12-11 17:27:58 +01:00
Deukhoofd 6f932f375f
Fixes style.
continuous-integration/drone/push Build is passing Details
2020-12-11 16:19:36 +01:00
Deukhoofd 3b4ba7c82b
Add trivial constructors to pointers.
continuous-integration/drone/push Build is passing Details
2020-12-11 16:14:12 +01:00
Deukhoofd 0116ed8f4c
Fix specialization error.
continuous-integration/drone/push Build is passing Details
2020-12-11 15:37:46 +01:00
Deukhoofd 26fea2ac20
Reorganise memory model to make it clear Memory.hpp should be referenced.
continuous-integration/drone/push Build is passing Details
2020-12-11 15:29:27 +01:00
Deukhoofd c4a4aedb04
Even more documentation.
continuous-integration/drone/push Build is passing Details
2020-12-11 15:25:24 +01:00
Deukhoofd d133b0a6fb
Adds documentation and fixes a couple issues.
continuous-integration/drone/push Build is failing Details
2020-12-11 15:22:21 +01:00
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 f158dbf8a2
Throw all exceptions with Arbutils exception. 2020-08-15 14:50:17 +02:00
Deukhoofd fb6b04bf03
Style Fix
continuous-integration/drone/push Build is passing Details
2020-08-10 17:22:47 +02:00
Deukhoofd 6e7a28d754
Support for swapping in a UniquePtrList.
continuous-integration/drone/push Build is passing Details
2020-08-10 17:20:37 +02:00
Deukhoofd 5fda89bc72
Add support for setting and taking ownership on a pointer in UniquePtrList.
continuous-integration/drone/push Build is passing Details
2020-07-25 14:28:00 +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