From ded4e770fc673fefa0b1d6c2c03eb5cc6cb4db8a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 6 Dec 2017 23:14:41 +0000 Subject: Use std::enable_if now, not boost's --- libdbpp/selectcommandUtil.impl.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libdbpp/selectcommandUtil.impl.h b/libdbpp/selectcommandUtil.impl.h index 4c0e035..dfe6894 100644 --- a/libdbpp/selectcommandUtil.impl.h +++ b/libdbpp/selectcommandUtil.impl.h @@ -2,20 +2,19 @@ #define DB_SELECTCOMMANDUTIL_IMPL_H #include "selectcommand.h" -#include -#include +#include /// @cond namespace DB { template - inline typename boost::disable_if_c::value>::type + inline typename std::enable_if= std::tuple_size::value>::type forEachField(DB::SelectCommand *, const Func & func, const Fn & ... args) { func(args...); } template - inline typename boost::enable_if_c::value>::type + inline typename std::enable_if::value>::type forEachField(DB::SelectCommand * sel, const Func & func, const Args & ... args) { typename std::tuple_element::type a; -- cgit v1.2.3