Skip to content

Commit f517816

Browse files
committed
Remove outdated comment
1 parent 291ddf1 commit f517816

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

source/containers/algorithms/uninitialized.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ constexpr auto memcpy(void * destination, void const * source, std::size_t const
7474
}
7575

7676
export constexpr auto uninitialized_copy_no_overlap = []<range InputRange, iterator OutputIterator>(InputRange && source, OutputIterator out) {
77-
// TODO: Figure out how to tell the optimizer there is no overlap so I do
78-
// not need to explicitly call `memcpy`.
7977
if constexpr (memcpyable<InputRange, OutputIterator>) {
8078
if consteval {
8179
return uninitialized_copy(OPERATORS_FORWARD(source), out);

0 commit comments

Comments
 (0)