20 Commits

Author SHA1 Message Date
627661158e Add move version of rcp_dynamic_cast() 2026-02-24 17:17:34 -05:00
69ecab39f2 Allow comparing rcp<T> to rcp<U> 2026-02-24 17:10:01 -05:00
11555ded36 Add reset() 2026-02-24 17:07:07 -05:00
ddaae32525 Add casting move constructor 2026-02-24 16:00:14 -05:00
7880adef89 Add static_assert to upcasting constructor; add rcp_dynamic_cast() 2026-02-24 15:48:41 -05:00
62b729badd Add move constructor and move assignment operator 2026-02-24 15:18:41 -05:00
2e30a9f407 Fix (and test) that copy constructor decrements previous object counter 2026-02-24 14:49:47 -05:00
4a1a0c8855 Add operator==() and operator!=() 2026-02-24 14:44:38 -05:00
47273edf6e Test construction from raw pointers 2026-02-23 23:01:56 -05:00
21f2dd4cad Add rcp::create() 2026-02-23 22:52:07 -05:00
ffe8433d55 Add operator bool() and test boolean checks 2026-02-23 22:44:55 -05:00
be2da870bb Add and test dereference operators 2026-02-23 22:43:05 -05:00
9dfb6e4740 Rename rcp_root() to rcp_managed_root() 2026-02-23 22:37:06 -05:00
53b2247432 Avoid need for rcp_managed() call in rcp root class 2026-02-23 22:35:57 -05:00
83ca3d8893 Add visibility attributes to rcp_managed() 2026-02-23 22:35:19 -05:00
eaad6ba6e0 Replace root class with rcp_root() macro 2026-02-23 22:33:09 -05:00
3fdb7c9bc6 Test construct and destruct counters match expected 2026-02-23 21:58:53 -05:00
b45e664726 Fix initial implementation and add first test 2026-02-23 21:50:28 -05:00
fac82eaaad Replace managed class with rcp_managed macro 2026-02-23 20:19:37 -05:00
6fec208922 Start basic test infrastructure 2026-02-23 17:43:20 -05:00