A compile-time-counter code snippet for boost
Igor V. Chesnokov
gmane.comp.lib.boost.devel
// Copyright (C) 2005 Igor Chesnokov, mailto:ichesnokov <at> // gmail.com (VC 6.5,VC 7.1 +
counter code)
// Copyright (C) 2005-2007 Peder Holt (VC 7.0 + framework) // Copyright (C) 2006 Steven Watanabe (VC 8.0)
// Use, modification and distribution is subject to the Boost Software // License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_TYPEOF_MSVC_TYPEOF_IMPL_HPP_INCLUDED # define BOOST_TYPEOF_MSVC_TYPEOF_IMPL_HPP_INCLUDED
# include
# include # include # include # include # if BOOST_WORKAROUND(BOOST_MSVC,>=1310) # include <typeinfo> # endif
[snip a lot]
I'm not sure you should expect people to spend some time understanding this if you do not provide any additional information. Don't get me wrong; a compile-time counter seems like an interesting thing to have in Boost, but posting this 300 LOC header as-is is not the best way to get things going IMHO. What is this and what is it useful for? Regards, Louis
participants (2)
-
Igor V. Chesnokov
-
Louis Dionne