Josh Holtrop josh
josh pushed to main at josh/rcp 2026-02-24 19:54:04 -05:00
d2b6755704 Add swap() and support std::hash
josh pushed to main at josh/rcp 2026-02-24 19:41:39 -05:00
464527a34d Test adding rcp management to an external class via inheritance
josh pushed to main at josh/rcp 2026-02-24 18:06:22 -05:00
011460254d Test multiple C++ standards; move tests to top level
josh pushed to main at josh/rcp 2026-02-24 17:49:28 -05:00
403db54664 Add "listener registration" test to test passing "this" out of a managed class
josh pushed to main at josh/rcp 2026-02-24 17:17:40 -05:00
627661158e Add move version of rcp_dynamic_cast()
josh pushed to main at josh/rcp 2026-02-24 17:10:05 -05:00
69ecab39f2 Allow comparing rcp<T> to rcp<U>
josh pushed to main at josh/rcp 2026-02-24 17:07:10 -05:00
11555ded36 Add reset()
josh pushed to main at josh/rcp 2026-02-24 16:00:19 -05:00
ddaae32525 Add casting move constructor
josh pushed to main at josh/rcp 2026-02-24 15:48:46 -05:00
7880adef89 Add static_assert to upcasting constructor; add rcp_dynamic_cast()
josh pushed to main at josh/rcp 2026-02-24 15:29:38 -05:00
ce921e31be Use explicit operator bool()
josh pushed to main at josh/rcp 2026-02-24 15:23:33 -05:00
174a45cfe7 Use rcp instead of rcp<T> where possible
josh pushed to main at josh/rcp 2026-02-24 15:18:48 -05:00
62b729badd Add move constructor and move assignment operator
josh pushed to main at josh/rcp 2026-02-24 14:49:52 -05:00
2e30a9f407 Fix (and test) that copy constructor decrements previous object counter
josh pushed to main at josh/rcp 2026-02-24 14:44:47 -05:00
4a1a0c8855 Add operator==() and operator!=()
josh pushed to main at josh/rcp 2026-02-23 23:02:08 -05:00
47273edf6e Test construction from raw pointers
josh pushed to main at josh/rcp 2026-02-23 22:52:20 -05:00
21f2dd4cad Add rcp::create()
josh pushed to main at josh/rcp 2026-02-23 22:45:01 -05:00
ffe8433d55 Add operator bool() and test boolean checks
josh pushed to main at josh/rcp 2026-02-23 22:43:12 -05:00
be2da870bb Add and test dereference operators
josh pushed to main at josh/rcp 2026-02-23 22:37:11 -05:00
9dfb6e4740 Rename rcp_root() to rcp_managed_root()
53b2247432 Avoid need for rcp_managed() call in rcp root class
83ca3d8893 Add visibility attributes to rcp_managed()
Compare 3 commits »
josh pushed to main at josh/rcp 2026-02-23 22:33:29 -05:00
eaad6ba6e0 Replace root class with rcp_root() macro