basedOpinionated utility library |
| git clone git://git.dimitrijedobrota.com/based.git |
| Log | Files | Refs | README | LICENSE | HACKING | CONTRIBUTING | CODE_OF_CONDUCT | BUILDING |
is_move_constructible.hpp (480B)
0 #pragma once
2 #include "based/concept/is_constructible.hpp"
3 #include "based/trait/add_rvalue_reference.hpp"
5 namespace based::trait
6 {
8 template<class T>
9 concept IsMoveConstructible = IsConstructible<T, AddRValueReference<T>>;
11 template<class T>
12 concept IsTriviallyMoveConstructible =
13 IsTriviallyConstructible<T, AddRValueReference<T>>;
15 template<class T>
16 concept IsNothrowMoveConstructible =
17 IsNothrowConstructible<T, AddRValueReference<T>>;
19 } // namespace based::trait