Skip to content

Commit

Permalink
[oneDPL][ranges][zip_view] + file header and guards
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeDvorskiy committed Sep 25, 2024
1 parent e55c567 commit 3e97934
Showing 1 changed file with 25 additions and 4 deletions.
29 changes: 25 additions & 4 deletions include/oneapi/dpl/pstl/zip_view_impl.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
#include <algorithm>
// -*- C++ -*-
//===----------------------------------------------------------------------===//
//
// Copyright (C) Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// This file incorporates work covered by the following copyright and permission
// notice:
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
//
//===----------------------------------------------------------------------===//

#ifndef _ONEDPL_ZIP_VIEW_IMPL_H
#define _ONEDPL_ZIP_VIEW_IMPL_H

#if _ONEDPL_CPP20_RANGES_PRESENT

#include <ranges>
#include <iostream>
#include <vector>
#include <tuple>
#include <type_traits>

namespace oneapi
Expand Down Expand Up @@ -361,4 +378,8 @@ inline constexpr zip_fn zip{};

} // namespace ranges
} // namespace dpl
} // namespace oneapi
} // namespace oneapi

#endif //_ONEDPL_CPP20_RANGES_PRESENT

#endif //_ONEDPL_ZIP_VIEW_IMPL_H

0 comments on commit 3e97934

Please sign in to comment.