-
Notifications
You must be signed in to change notification settings - Fork 804
Open
Labels
P2-BugPresentational errors and omissionsPresentational errors and omissions
Description
Throughout the document, we use \placeholdernc{voidify}, but this doesn't make any sense.
Lines 13528 to 13544 in b1ff1df
| \pnum | |
| Some algorithms specified in \ref{specialized.algorithms} | |
| make use of the following exposition-only function templates: | |
| \begin{codeblock} | |
| template<class T> | |
| constexpr void* @\placeholdernc{voidify}@(T& obj) noexcept { | |
| return addressof(obj); | |
| } | |
| template<class I> | |
| decltype(auto) @\exposid{deref-move}@(I& it) { | |
| if constexpr (is_lvalue_reference_v<decltype(*it)>) | |
| return std::move(*it); | |
| else | |
| return *it; | |
| } | |
| \end{codeblock} |
voidify is clearly declared as an exposition-only function template, so what is the \placeholdernc doing here?
Metadata
Metadata
Assignees
Labels
P2-BugPresentational errors and omissionsPresentational errors and omissions