StormByte C++ Library 1.2.0
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
Loading...
Searching...
No Matches
StormByte::Type::MoveAssignable Concept Reference

Type that can be move-assigned (operator=(T&&)). More...

#include <StormByte/type_traits/object_semantics.hxx>

Concept definition

template<typename T>
concept StormByte::Type::MoveAssignable = std::is_move_assignable_v<T>
Type that can be move-assigned (operator=(T&&)).
Definition object_semantics.hxx:213

Detailed Description

Type that can be move-assigned (operator=(T&&)).

Template Parameters
TType to test.
template<Type::MoveAssignable T>
void take_over(T& dest, T&& src) { dest = std::move(src); }