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.
1 parent b63f2a9 commit 706675fCopy full SHA for 706675f
libcxx/include/optional
@@ -615,8 +615,8 @@ class _LIBCPP_DECLSPEC_EMPTY_BASES optional
615
using __base _LIBCPP_NODEBUG = __optional_move_assign_base<_Tp>;
616
617
# if _LIBCPP_STD_VER >= 26
618
- using pointer = std::add_pointer_t<std::remove_cvref_t<_Tp>>;
619
- using const_pointer = std::add_pointer_t<const std::remove_cvref_t<_Tp>>;
+ using pointer = std::add_pointer_t<_Tp>;
+ using const_pointer = std::add_pointer_t<const _Tp>;
620
# endif
621
622
public:
0 commit comments