StormByte C++ Library 0.0.9999
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::MoveConstructible Concept Reference

Concept to check if a type is move constructible. More...

#include <type_traits.hxx>

Concept definition

template<typename T>
concept StormByte::Type::MoveConstructible = std::is_move_constructible_v<T>
Concept to check if a type is move constructible.
Definition type_traits.hxx:357

Detailed Description

Concept to check if a type is move constructible.

Template Parameters
TType to check.

A type satisfies MoveConstructible if it can be move-constructed.

template<Type::MoveConstructible T>
T transfer(T&& source) { return T{std::move(source)}; }