#ifndef OSRM_STATIC_ASSERT_HPP #define OSRM_STATIC_ASSERT_HPP #include namespace osrm { namespace util { template inline void static_assert_iter_value() { using IterValueType = typename std::iterator_traits::value_type; static_assert(std::is_same::value, ""); } template inline void static_assert_iter_category() { using IterCategoryType = typename std::iterator_traits::iterator_category; static_assert(std::is_base_of::value, ""); } } // ns util } // ns osrm #endif // OSRM_STATIC_ASSERT_HPP