Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include all necessary standard headers in utils_ranges.h #1896

Merged
merged 2 commits into from
Oct 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading