stlab.adobe.com Adobe Systems Incorporated
ignore_unused.hpp
Go to the documentation of this file.
1 /*
2  Copyright 2005-2007 Adobe Systems Incorporated
3  Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
4  or a copy at http://stlab.adobe.com/licenses.html)
5 */
6 
7 /*************************************************************************************************/
8 
9 #ifndef ADOBE_IGNORE_UNUSED_HPP
10 #define ADOBE_IGNORE_UNUSED_HPP
11 
12 /*************************************************************************************************/
13 
14 #include <adobe/config.hpp>
15 
16 /*************************************************************************************************/
17 
18 namespace adobe {
19 
20 /*************************************************************************************************/
21 
23 template <typename T0>
24 inline void ignore_unused(const T0&) { }
25 
27 template <typename T0, typename T1>
28 inline void ignore_unused(const T0&, const T1&) { }
29 
31 template <typename T0, typename T1, typename T2>
32 inline void ignore_unused(const T0&, const T1&, const T2&) { }
33 
35 template <typename T0, typename T1, typename T2, typename T3>
36 inline void ignore_unused(const T0&, const T1&, const T2&, const T3&) { }
37 
38 /*************************************************************************************************/
39 
40 } // namespace adobe
41 
42 /*************************************************************************************************/
43 
44 // ADOBE_IGNORE_UNUSED_HPP
45 #endif
46 
47 /*************************************************************************************************/
void ignore_unused(const T0 &)

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google