Skip to content

Commit 9e96020

Browse files
authored
Merge 2018-11 LWG Motion 10
P1006R1 Constexpr in std::pointer_traits Fixes #2416
2 parents 40e4a00 + 4a626f8 commit 9e96020

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/utilities.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6863,7 +6863,7 @@
68636863

68646864
template<class U> using rebind = U*;
68656865

6866-
static pointer pointer_to(@\seebelow@ r) noexcept;
6866+
static constexpr pointer pointer_to(@\seebelow@ r) noexcept;
68676867
};
68686868
}
68696869
\end{codeblock}
@@ -6919,7 +6919,7 @@
69196919
\indexlibrarymember{pointer_to}{pointer_traits}%
69206920
\begin{itemdecl}
69216921
static pointer pointer_traits::pointer_to(@\seebelow@ r);
6922-
static pointer pointer_traits<T*>::pointer_to(@\seebelow@ r) noexcept;
6922+
static constexpr pointer pointer_traits<T*>::pointer_to(@\seebelow@ r) noexcept;
69236923
\end{itemdecl}
69246924

69256925
\begin{itemdescr}

0 commit comments

Comments
 (0)