This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <limits> | |
#include <stdint.h> | |
#include <type_traits> | |
namespace NoOverflow{ | |
template <class T> | |
using enable_if_unsigned_t = typename ::std::enable_if<std::is_unsigned<T>::value, T>::type; |