Skip to content

Commit fa30269

Browse files
burblebeetkoeppe
authored andcommitted
LWG3870 Remove voidify
Fixes NB GB 121 (C++23 CD).
1 parent 2a08af4 commit fa30269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/algorithms.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10781,7 +10781,7 @@
1078110781
\begin{codeblock}
1078210782
template<class T>
1078310783
constexpr void* @\placeholdernc{voidify}@(T& obj) noexcept {
10784-
return const_cast<void*>(static_cast<const volatile void*>(addressof(obj)));
10784+
return addressof(obj);
1078510785
}
1078610786
\end{codeblock}
1078710787

0 commit comments

Comments
 (0)