We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
launder_cast
1 parent 1d398dd commit 742138dCopy full SHA for 742138d
include/boost/move/detail/launder.hpp
@@ -44,7 +44,7 @@ BOOST_MOVE_FORCEINLINE T* launder(T* p)
44
template<class T>
45
BOOST_MOVE_FORCEINLINE T launder_cast(const volatile void* p)
46
{
47
- return (launder)((T)p);
+ return (launder)(static_cast<T>(const_cast<void*>(p)));
48
}
49
50
} //namespace move_detail {
0 commit comments