wip
This commit is contained in:
parent
1c3c56bbc6
commit
541d4fa1b4
@ -14,8 +14,8 @@ template <typename It, typename Value> inline void static_assert_iter_value()
|
||||
|
||||
template <typename It, typename Category> inline void static_assert_iter_category()
|
||||
{
|
||||
// using IterCategoryType = typename std::iterator_traits<It>::iterator_category;
|
||||
// static_assert(std::is_base_of<Category, IterCategoryType>::value, "");
|
||||
using IterCategoryType = typename std::iterator_traits<It>::iterator_category;
|
||||
static_assert(std::is_base_of<Category, IterCategoryType>::value, "");
|
||||
}
|
||||
|
||||
} // namespace osrm::util
|
||||
|
||||
Loading…
Reference in New Issue
Block a user