VCCC
2024.05
VisualCamp Common C++ library
constructible_from.hpp
Go to the documentation of this file.
1
//
2
// Created by cosge on 2023-12-02.
3
//
4
5
#ifndef VCCC_CONCEPTS_CONSTRUCTIBLE_FROM_HPP_
6
#define VCCC_CONCEPTS_CONSTRUCTIBLE_FROM_HPP_
7
8
#include "
vccc/__concepts/destructible.hpp
"
9
#include "
vccc/__type_traits/conjunction.hpp
"
10
11
namespace
vccc
{
12
15
28
template
<
typename
T,
typename
... Args>
29
struct
constructible_from
:
conjunction
<
30
destructible<T>,
31
std::is_constructible<T, Args...>> {};
32
34
35
}
// namespace vccc
36
37
#endif
// VCCC_CONCEPTS_CONSTRUCTIBLE_FROM_HPP_
conjunction.hpp
destructible.hpp
vccc
Definition:
directory.h:12
vccc::conjunction
Definition:
conjunction.hpp:22
vccc::constructible_from
specifies that a variable of the type can be constructed from or bound to a set of argument types
Definition:
constructible_from.hpp:31
include
vccc
__concepts
constructible_from.hpp
Generated by
1.9.1