Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-19 09:47:47

0001 /*=============================================================================
0002     Copyright (c) 2001-2012 Joel de Guzman
0003 
0004     Distributed under the Boost Software License, Version 1.0. (See accompanying
0005     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 ==============================================================================*/
0007 #if !defined(BOOST_SPIRIT_COPY_FEBRUARY_7_2012_0159PM)
0008 #define BOOST_SPIRIT_COPY_FEBRUARY_7_2012_0159PM
0009 
0010 #include <boost/config.hpp>
0011 
0012 #if defined(_MSC_VER)
0013 #pragma once
0014 #endif
0015 
0016 #if !defined(BOOST_NO_CXX11_AUTO_DECLARATIONS)
0017 #include <boost/proto/deep_copy.hpp>
0018 
0019 namespace boost { namespace spirit { namespace qi
0020 {
0021     template <typename Expr>
0022     typename boost::proto::result_of::deep_copy<Expr>::type
0023     copy(Expr const& expr)
0024     {
0025         BOOST_SPIRIT_ASSERT_MATCH(boost::spirit::qi::domain, Expr);
0026         return boost::proto::deep_copy(expr);
0027     }
0028 }}}
0029 
0030 #endif
0031 #endif