"vscode:/vscode.git/clone" did not exist on "2d0896e7d3fcfc74e15f5b58180bf1f8cc084ab7"
ignore.hpp 411 Bytes
Newer Older
Chao Liu's avatar
Chao Liu committed
1
// SPDX-License-Identifier: MIT
Illia Silin's avatar
Illia Silin committed
2
// Copyright (c) 2018-2023, Advanced Micro Devices, Inc. All rights reserved.
Chao Liu's avatar
Chao Liu committed
3

Shaojie WANG's avatar
Shaojie WANG committed
4
#pragma once
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

// https://en.cppreference.com/w/cpp/utility/tuple/ignore

namespace ck {

namespace detail {
struct ignore_t
{
    template <typename T>
    constexpr void operator=(T&&) const noexcept
    {
    }
};
} // namespace detail

inline constexpr detail::ignore_t ignore;

} // namespace ck