ClickHouse/src/Common/Concepts.h

15 lines
183 B
C++
Raw Normal View History

2022-03-11 10:04:35 +00:00
#pragma once
#include <concepts>
namespace DB
{
template <typename... T>
concept OptionalArgument = requires(T &&...)
{
requires(sizeof...(T) == 0 || sizeof...(T) == 1);
};
}