Skip to content

Commit

Permalink
Merge 2021-06 LWG Motion 14
Browse files Browse the repository at this point in the history
P2166R1 A Proposal to Prohibit std::basic_string and std::basic_strin…
  • Loading branch information
tkoeppe committed Jun 16, 2021
2 parents a6da723 + 327e917 commit 4cdaadb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/strings.tex
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,7 @@
constexpr explicit basic_string(const T& t, const Allocator& a = Allocator());
constexpr basic_string(const charT* s, size_type n, const Allocator& a = Allocator());
constexpr basic_string(const charT* s, const Allocator& a = Allocator());
constexpr basic_string(nullptr_t) = delete;
constexpr basic_string(size_type n, charT c, const Allocator& a = Allocator());
template<class InputIterator>
constexpr basic_string(InputIterator begin, InputIterator end,
Expand All @@ -840,6 +841,7 @@
template<class T>
constexpr basic_string& operator=(const T& t);
constexpr basic_string& operator=(const charT* s);
constexpr basic_string& operator=(nullptr_t) = delete;
constexpr basic_string& operator=(charT c);
constexpr basic_string& operator=(initializer_list<charT>);

Expand Down Expand Up @@ -4088,6 +4090,7 @@
constexpr basic_string_view(const basic_string_view&) noexcept = default;
constexpr basic_string_view& operator=(const basic_string_view&) noexcept = default;
constexpr basic_string_view(const charT* str);
constexpr basic_string_view(nullptr_t) = delete;
constexpr basic_string_view(const charT* str, size_type len);
template<class It, class End>
constexpr basic_string_view(It begin, End end);
Expand Down

0 comments on commit 4cdaadb

Please sign in to comment.