Remove conditional and to_iterator

This commit is contained in:
Victor Zverovich
2017-09-04 13:56:14 -07:00
parent 1cade7ef4d
commit c18a4041f9
3 changed files with 2 additions and 35 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ class ArgConverter {
typename std::enable_if<std::is_integral<U>::value>::type
operator()(U value) {
bool is_signed = type_ == 'd' || type_ == 'i';
typedef typename internal::conditional<
typedef typename std::conditional<
std::is_same<T, void>::value, U, T>::type TargetType;
if (sizeof(TargetType) <= sizeof(int)) {
// Extra casts are used to silence warnings.