meta: Renaming

This commit is contained in:
Christos Houtouridis
2019-10-13 19:52:03 +03:00
parent 533a09625c
commit 2963c008f8
28 changed files with 296 additions and 647 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
* \file selection.h
* \brief Template meta-programming type selections.
*
* Copyright (C) 2018 Christos Choutouridis
* Copyright (C) 2018-2019 Christos Choutouridis
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
@@ -60,7 +60,7 @@ namespace meta{
}
//! Select one type or another depending on a compile-time Boolean.
template <bool B, typename... Args>
using if_c = type_<detail::if_c_<B, Args...>>;
using if_c = eval<detail::if_c_<B, Args...>>;
//! Select one type or another depending on a compile-time Boolean type
template <typename If, typename... Args>