Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions include/boost/parser/detail/text/transcode_view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -514,10 +514,9 @@ namespace boost::parser::detail { namespace text {
#endif
constexpr utf_view(V base) : base_{std::move(base)} {}

constexpr V base() const &
#if BOOST_PARSER_DETAIL_TEXT_USE_CONCEPTS
requires std::copy_constructible<V>
#endif
constexpr V & base() &
{ return base_; }
constexpr V const & base() const &
{ return base_; }
constexpr V base() && { return std::move(base_); }

Expand Down