tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
etl::copy_constructible Concept Reference

The concept copy_constructible is satisfied if T is an lvalue reference type, or if it is a move_constructible object type where an object of that type can constructed from a (possibly const) lvalue or const rvalue of that type in both direct- and copy-initialization contexts with the usual semantics (a copy is constructed with the source unchanged). More...

#include <copy_constructible.hpp>

Concept definition

template<typename T>
The constructible_from concept specifies that a variable of type T can be initialized with the given ...
Definition constructible_from.hpp:15
The concept convertible_to<From, To> specifies that an expression of the same type and value category...
Definition convertible_to.hpp:18
The concept copy_constructible is satisfied if T is an lvalue reference type, or if it is a move_cons...
Definition copy_constructible.hpp:20
The concept move_constructible is satisfied if T is a reference type, or if it is an object type wher...
Definition move_constructible.hpp:20

Detailed Description

The concept copy_constructible is satisfied if T is an lvalue reference type, or if it is a move_constructible object type where an object of that type can constructed from a (possibly const) lvalue or const rvalue of that type in both direct- and copy-initialization contexts with the usual semantics (a copy is constructed with the source unchanged).