Commit Graph

90 Commits

Author SHA1 Message Date
Deukhoofd 1d8bf3e747
Makes GCC happy
continuous-integration/drone/push Build is failing Details
2022-05-14 16:14:30 +02:00
Deukhoofd 407f9aaf73
Removes completely invalid copy and move operators on unique pointers
continuous-integration/drone/push Build is failing Details
2022-05-14 15:58:23 +02:00
Deukhoofd 74ef6b5bdc
Adds functions to take ownership from a unique ptr
continuous-integration/drone/push Build is passing Details
2022-05-14 15:32:10 +02:00
Deukhoofd 510fa60c0e
Ignore sanitizer error on scopedptr::takeownership
continuous-integration/drone/push Build is passing Details
2022-03-25 19:19:56 +01:00
Deukhoofd a618f2b98b
Style fixes
continuous-integration/drone/push Build is failing Details
2022-03-23 14:16:18 +01:00
Deukhoofd 3b19f8b268
Turns out vector::data() can return null
continuous-integration/drone/push Build is failing Details
2022-03-23 13:04:04 +01:00
Deukhoofd 0031804fe8
Implements Defines with common defines, initial work on nullability
continuous-integration/drone/push Build is passing Details
2022-03-23 11:13:42 +01:00
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