blob: 9f66cf697a3549b1445aede3cd831e440eb8cd9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
#include <type_traits>
namespace NYql {
template <typename T>
concept IsPod = (std::is_trivially_destructible<T>::value &&
std::is_trivially_copy_assignable<T>::value &&
std::is_trivially_move_assignable<T>::value &&
std::is_trivially_copy_constructible<T>::value &&
std::is_trivially_move_constructible<T>::value);
} // namespace NYql
|