* Copyright (c) 2025 Huawei Technologies Co., Ltd.
* This program is free software, you can redistribute it and/or modify it under the terms and conditions of
* CANN Open Software License Agreement Version 2.0 (the "License").
* Please refer to the License for details. You may not use this file except in compliance with the License.
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
* See LICENSE in the root of the software repository for the full text of the License.
*/
* \file ignore.h
* \brief
*/
#ifndef IMPL_STD_ASCENDC_STD_IGNORE_IMPL__H
#define IMPL_STD_ASCENDC_STD_IGNORE_IMPL__H
namespace AscendC {
namespace Std {
struct ignore_t
{
ASCENDC_HOST_AICORE inline ignore_t() = default;
template <typename Tp, typename...Ts>
ASCENDC_HOST_AICORE inline constexpr ignore_t(const Tp&, const Ts&...) noexcept {}
template <typename Tp>
ASCENDC_HOST_AICORE inline constexpr const ignore_t& operator=(const Tp&) const noexcept
{
return *this;
}
};
constexpr ignore_t ignore{};
}
}
#endif