mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Add additional test to static_cast to make sure address is preserved
This commit is contained in:
@@ -417,6 +417,7 @@ void test_cast()
|
||||
pcint = static_cast<pcint_t>(pcvoid);
|
||||
|
||||
BOOST_TEST(pint == pvoid);
|
||||
BOOST_TEST(pcint == pcvoid);
|
||||
BOOST_TEST(pcint == pint);
|
||||
|
||||
//Test valid static_pointer_cast conversions
|
||||
|
||||
Reference in New Issue
Block a user