cppx-core
cppx-core
language
tmp
basic-Enable_if_.hpp
Go to the documentation of this file.
1
#pragma once // Source encoding: UTF-8 with BOM (π is a lowercase Greek "pi").
2
5
#include <utility>
6
7
namespace
cppx
8
{
9
11
template
<
bool
condition,
class
Result =
void
>
// "bool" until C++20
12
using
Enable_if_
= std::enable_if_t<condition, Result>;
13
14
}
// namespace cppx
cppx
Definition:
dynamic-size-checking.hpp:12
cppx::Enable_if_
std::enable_if_t< condition, Result > Enable_if_
Just more readable than enable_if_t.
Definition:
basic-Enable_if_.hpp:12
Generated by
1.8.15