/*
 * SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
 *                         Copyright (c) 2025 Robert Leahy. All rights reserved.
 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 *
 * Licensed under the Apache License, Version 2.0 with LLVM Exceptions (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * https://llvm.org/LICENSE.txt
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#pragma once

#include "../stdexec/__detail/__config.hpp"

#if STDEXEC_MSVC()
#  pragma message(                                                                                 \
    "WARNING: The header <exec/asio/executor_with_default.hpp> is deprecated. Please include <exec/asio/executor_with_default.hpp> instead.")
#else
#  warning                                                                                         \
    "The header <exec/asio/executor_with_default.hpp> is deprecated. Please include <exec/asio/executor_with_default.hpp> instead."
#endif

#include "../exec/asio/executor_with_default.hpp"  // IWYU pragma: export

namespace asioexec
{
  template <typename Executor, typename CompletionToken>
  using executor_with_default
    [[deprecated("asioexec::executor_with_default is deprecated. Please use "
                 "exec::asio::executor_with_default "
                 "instead.")]] = exec::asio::executor_with_default<Executor, CompletionToken>;
}  // namespace asioexec
