Mirror reflection library 0.5.13

mirror/utils/unused_type.hpp

Go to the documentation of this file.
00001 
00010 #ifndef MIRROR_UTILS_UNUSED_TYPE_1011291729_HPP
00011 #define MIRROR_UTILS_UNUSED_TYPE_1011291729_HPP
00012 
00013 #include <mirror/config.hpp>
00014 
00015 MIRROR_NAMESPACE_BEGIN
00016 
00017 struct unused_type
00018 {
00019     unused_type(void)
00020     { }
00021 
00022     template <typename T>
00023     unused_type(const T&)
00024     { }
00025 
00026     template <typename T>
00027     const unused_type& operator = (const T&) const
00028     {
00029         return *this;
00030     }
00031 };
00032 
00033 MIRROR_NAMESPACE_END
00034 
00035 #endif //include guard
00036 

Copyright © 2006-2011 Matus Chochlik, University of Zilina, Zilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Fri Dec 16 2011 by Doxygen (version 1.7.3).
Important note: Although the 'boostified' version of Mirror uses the Boost C++ libraries Coding Guidelines and is implemented inside of the boost namespace, it IS NOT an officially reviewed and accepted Boost library. Mirror is being developed with the intention to be submitted for review for inclusion to the Boost C++ libraries.