4#ifndef TETL_CONCEPTS_ASSIGNABLE_FROM_HPP
5#define TETL_CONCEPTS_ASSIGNABLE_FROM_HPP
7#include <etl/_concepts/common_reference_with.hpp>
8#include <etl/_concepts/same_as.hpp>
9#include <etl/_type_traits/is_lvalue_reference.hpp>
10#include <etl/_type_traits/remove_reference.hpp>
11#include <etl/_utility/forward.hpp>
19template<
typename LHS,
typename RHS>
20concept assignable_from =
21 is_lvalue_reference_v<LHS>
23 and requires(LHS lhs, RHS&& rhs) {
24 { lhs =
etl::forward<RHS>(rhs) } -> same_as<LHS>;
Definition adjacent_find.hpp:9