-
b695ce7758
Add specialized operator=() to handle nullptr assignment
main
josh
2026-02-27 14:50:48 -05:00
-
e3cdfb1bfa
Add github link in rcp.h
v1.0.0
josh
2026-02-25 09:43:43 -05:00
-
339f1ce9d6
README: note managed pointer size differences between rcp and shared_ptr
josh
2026-02-25 09:30:59 -05:00
-
771473b62a
Rename template parameter to reduce chance of conflict
josh
2026-02-25 09:22:39 -05:00
-
3a624ee65b
Rename ref_count to rcp_ref_count
josh
2026-02-25 09:15:59 -05:00
-
27420c507d
Make rpc_inc() and rpc_dec() private
josh
2026-02-25 09:15:01 -05:00
-
93527f8647
Mark move constructor as noexcept
josh
2026-02-25 09:08:50 -05:00
-
7d5316bd79
Allow get_rcp() to be called on a const reference
josh
2026-02-25 08:25:03 -05:00
-
0de327d442
Test self assignment
josh
2026-02-25 08:17:18 -05:00
-
8d0243dcde
Add free std::swap() specialization function for rcp
josh
2026-02-25 08:16:33 -05:00
-
b87fbc0d76
Allow comparison to nullptr on left side of operator
josh
2026-02-25 08:15:22 -05:00
-
d88922756d
Improve test_copy_assignment_decrements_previous_reference()
josh
2026-02-25 01:11:13 -05:00
-
ec937b2395
Fix move assignment from the same object
josh
2026-02-25 00:49:33 -05:00
-
17a647b897
Add ordering comparison operators
josh
2026-02-25 00:19:04 -05:00
-
d9a9a88a24
Add rcp::use_count()
josh
2026-02-24 23:42:56 -05:00
-
af0e0d0084
Add README contents
readme-wip
josh
2026-02-24 19:54:15 -05:00
-
d2b6755704
Add swap() and support std::hash
josh
2026-02-24 19:53:59 -05:00
-
464527a34d
Test adding rcp management to an external class via inheritance
josh
2026-02-24 19:41:34 -05:00
-
011460254d
Test multiple C++ standards; move tests to top level
josh
2026-02-24 18:06:16 -05:00
-
403db54664
Add "listener registration" test to test passing "this" out of a managed class
josh
2026-02-24 17:49:23 -05:00
-
627661158e
Add move version of rcp_dynamic_cast()
josh
2026-02-24 17:17:34 -05:00
-
69ecab39f2
Allow comparing rcp<T> to rcp<U>
josh
2026-02-24 17:10:01 -05:00
-
11555ded36
Add reset()
josh
2026-02-24 17:07:07 -05:00
-
ddaae32525
Add casting move constructor
josh
2026-02-24 16:00:14 -05:00
-
7880adef89
Add static_assert to upcasting constructor; add rcp_dynamic_cast()
josh
2026-02-24 15:48:41 -05:00
-
ce921e31be
Use explicit operator bool()
josh
2026-02-24 15:29:34 -05:00
-
174a45cfe7
Use rcp instead of rcp<T> where possible
josh
2026-02-24 15:23:22 -05:00
-
62b729badd
Add move constructor and move assignment operator
josh
2026-02-24 15:18:41 -05:00
-
2e30a9f407
Fix (and test) that copy constructor decrements previous object counter
josh
2026-02-24 14:49:47 -05:00
-
4a1a0c8855
Add operator==() and operator!=()
josh
2026-02-24 14:44:38 -05:00
-
47273edf6e
Test construction from raw pointers
josh
2026-02-23 23:01:56 -05:00
-
21f2dd4cad
Add rcp::create()
josh
2026-02-23 22:52:07 -05:00
-
ffe8433d55
Add operator bool() and test boolean checks
josh
2026-02-23 22:44:55 -05:00
-
be2da870bb
Add and test dereference operators
josh
2026-02-23 22:42:43 -05:00
-
9dfb6e4740
Rename rcp_root() to rcp_managed_root()
josh
2026-02-23 22:37:06 -05:00
-
53b2247432
Avoid need for rcp_managed() call in rcp root class
josh
2026-02-23 22:35:57 -05:00
-
83ca3d8893
Add visibility attributes to rcp_managed()
josh
2026-02-23 22:35:19 -05:00
-
eaad6ba6e0
Replace root class with rcp_root() macro
josh
2026-02-23 22:33:09 -05:00
-
a70a0218dc
Remove root_rcp
josh
2026-02-23 22:29:03 -05:00
-
3fdb7c9bc6
Test construct and destruct counters match expected
josh
2026-02-23 21:58:53 -05:00
-
71b4bf14a0
Remove get_root_rcp()
josh
2026-02-23 21:55:26 -05:00
-
b45e664726
Fix initial implementation and add first test
josh
2026-02-23 21:50:28 -05:00
-
13c7832c4b
Fix tests to use CXX compiler and fail if valgrind detects leak
josh
2026-02-23 21:29:55 -05:00
-
fac82eaaad
Replace managed class with rcp_managed macro
josh
2026-02-23 20:19:37 -05:00
-
f5d52dfe98
Drop rcp_internal namespace for now to get working
josh
2026-02-23 17:50:04 -05:00
-
6fec208922
Start basic test infrastructure
josh
2026-02-23 17:43:20 -05:00
-
6d6d7cda56
Add license in header
josh
2026-02-23 17:34:33 -05:00
-
65c859030d
Rename increment/decrement ref count APIs
josh
2026-02-23 17:31:04 -05:00
-
c628177b94
Add initial idea for API
josh
2026-02-23 09:33:40 -05:00
-
83c7b059b8
Add LICENSE
josh
2026-02-23 09:33:09 -05:00
-
2c58e3def1
Create rcp repo with README
josh
2026-02-23 09:33:00 -05:00