Skip to content

Commit 94340ed

Browse files
jwakelytkoeppe
authored andcommitted
[basic.string.general], [string.view.template.general] remove constexpr
There is no reason to declare a deleted function constexpr.
1 parent 4148449 commit 94340ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/strings.tex

+3-3
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@
824824
constexpr explicit basic_string(const T& t, const Allocator& a = Allocator());
825825
constexpr basic_string(const charT* s, size_type n, const Allocator& a = Allocator());
826826
constexpr basic_string(const charT* s, const Allocator& a = Allocator());
827-
constexpr basic_string(nullptr_t) = delete;
827+
basic_string(nullptr_t) = delete;
828828
constexpr basic_string(size_type n, charT c, const Allocator& a = Allocator());
829829
template<class InputIterator>
830830
constexpr basic_string(InputIterator begin, InputIterator end,
@@ -841,7 +841,7 @@
841841
template<class T>
842842
constexpr basic_string& operator=(const T& t);
843843
constexpr basic_string& operator=(const charT* s);
844-
constexpr basic_string& operator=(nullptr_t) = delete;
844+
basic_string& operator=(nullptr_t) = delete;
845845
constexpr basic_string& operator=(charT c);
846846
constexpr basic_string& operator=(initializer_list<charT>);
847847

@@ -4090,7 +4090,7 @@
40904090
constexpr basic_string_view(const basic_string_view&) noexcept = default;
40914091
constexpr basic_string_view& operator=(const basic_string_view&) noexcept = default;
40924092
constexpr basic_string_view(const charT* str);
4093-
constexpr basic_string_view(nullptr_t) = delete;
4093+
basic_string_view(nullptr_t) = delete;
40944094
constexpr basic_string_view(const charT* str, size_type len);
40954095
template<class It, class End>
40964096
constexpr basic_string_view(It begin, End end);

0 commit comments

Comments
 (0)