Replace ::value and ::type with _v and _t suffixes (#1885)

This commit is contained in:
Tyler Veness
2019-09-13 20:14:37 -07:00
committed by Peter Johnson
parent a5650b9439
commit 1d8c4d016f
8 changed files with 40 additions and 43 deletions

View File

@@ -51,7 +51,7 @@ class ParallelDeadlineGroup
*/
template <class T, class... Types,
typename = std::enable_if_t<
std::is_base_of<Command, std::remove_reference_t<T>>::value>,
std::is_base_of_v<Command, std::remove_reference_t<T>>>,
typename = std::enable_if_t<std::conjunction_v<
std::is_base_of<Command, std::remove_reference_t<Types>>...>>>
explicit ParallelDeadlineGroup(T&& deadline, Types&&... commands) {