We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afc59a0 commit 7311d76Copy full SHA for 7311d76
1 file changed
include/rsl/variant
@@ -419,7 +419,7 @@ public:
419
selected_index<T> != variant_npos)
420
constexpr variant_base& operator=(T&& obj) noexcept(
421
is_nothrow_constructible_type(alternatives.types[selected_index<T>],
422
- {std::meta::remove_cvref(^^T)})) {
+ {remove_cvref(^^T)})) {
423
emplace<selected_index<T>>(std::forward<T>(obj));
424
return *this;
425
}
@@ -746,7 +746,7 @@ constexpr decltype(auto) get(V&& variant_) {
746
template <typename T, _variant_impl::has_get V>
747
constexpr decltype(auto) get(V&& variant_) {
748
constexpr static std::size_t index =
749
- variant_.alternatives.get_index_of(std::meta::remove_cvref(^^T));
+ variant_.alternatives.get_index_of(remove_cvref(^^T));
750
return rsl::get<index>(std::forward<V>(variant_));
751
752
0 commit comments