Adobe Source Libraries 1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
ignore_unused.hpp
Go to the documentation of this file.
1/*
2 Copyright 2013 Adobe
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5*/
6/**************************************************************************************************/
7
8#ifndef ADOBE_IGNORE_UNUSED_HPP
9#define ADOBE_IGNORE_UNUSED_HPP
10
11/**************************************************************************************************/
12
13#include <adobe/config.hpp>
14
15/**************************************************************************************************/
16
17namespace adobe {
18
19/**************************************************************************************************/
20
22template <typename T0>
23inline void ignore_unused(const T0&) {}
24
26template <typename T0, typename T1>
27inline void ignore_unused(const T0&, const T1&) {}
28
30template <typename T0, typename T1, typename T2>
31inline void ignore_unused(const T0&, const T1&, const T2&) {}
32
34template <typename T0, typename T1, typename T2, typename T3>
35inline void ignore_unused(const T0&, const T1&, const T2&, const T3&) {}
36
37/**************************************************************************************************/
38
39} // namespace adobe
40
41/**************************************************************************************************/
42
43// ADOBE_IGNORE_UNUSED_HPP
44#endif
45
46/**************************************************************************************************/
void ignore_unused(const T0 &)