Skip to content

Commit

Permalink
Include all necessary std headers in utils_ranges.h
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitriy Sobolev <[email protected]>
  • Loading branch information
dmitriy-sobolev committed Oct 11, 2024
1 parent 1fe827f commit a498879
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions include/oneapi/dpl/pstl/utils_ranges.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,16 @@
#ifndef _ONEDPL_UTILS_RANGES_H
#define _ONEDPL_UTILS_RANGES_H

#include <iterator>
#include <type_traits>
#include <tuple> // std::get
#include <cstdint> // std::uint8_t
#include <cstddef> // std::size_t, std::ptrdiff_t
#include <utility> // std::declval
#include <iterator> // std::iterator_traits
#include <type_traits> // std::decay_t, std::remove_cv_t, std::remove_reference_t, std::invoke_result_t, ...

#if _ONEDPL_CPP20_RANGES_PRESENT
# include <ranges> // std::ranges::sized_range, std::ranges::range_size_t
#endif

#include "iterator_defs.h"
#include "iterator_impl.h"
Expand Down

0 comments on commit a498879

Please sign in to comment.