Simple-Utility v2.3.1
Loading...
Searching...
No Matches
sl::concepts::assignable_to Concept Reference

Checks whether the target type is assignable from the source type. More...

#include <stl_extensions.hpp>

Concept definition

template<class TSource, class TTarget>
concept sl::concepts::assignable_to = std::assignable_from<TTarget, TSource>
Checks whether the target type is assignable from the source type.
Definition: stl_extensions.hpp:87

Detailed Description

Checks whether the target type is assignable from the source type.

This is the symmetrical counterpart of std::assignable_from concept.

Template Parameters
TSourceThe source type handed over to the target
TTargetThe target type to check