Support Class Library
A set of tools providing classes and utility
include
scl
concepts
MoveAssignable.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
scl/tools/meta/type_check.h
>
4
5
namespace
scl
{
6
namespace
concepts{
11
template
<
class
T>
12
struct
MoveAssignable
{
13
constexpr
operator
bool()
const
{
14
using namespace
scl::tools
;
15
static_assert(meta::is_move_assignable<T>(),
"MoveAssignable<T>: T is not move assignable"
);
16
return
true
;
17
}
18
};
19
}
20
}
scl
Global namespace of the SCL.
Definition:
alias.hpp:3
scl::tools
General purpose tooling.
Definition:
iostream.hpp:4
type_check.h
scl::concepts::MoveAssignable
MoveAssignable concept, a type T is move assignable if meta::is_move_assignable<T>() is true...
Definition:
MoveAssignable.h:12
Generated by
1.8.13