cppx-core
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
std::enable_if_t< condition, Result > Enable_if_
Just more readable than enable_if_t.