annotate DEPENDENCIES/generic/include/boost/spirit/home/qi/copy.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents f46d142149f5
children
rev   line source
Chris@102 1 /*=============================================================================
Chris@102 2 Copyright (c) 2001-2012 Joel de Guzman
Chris@102 3
Chris@102 4 Distributed under the Boost Software License, Version 1.0. (See accompanying
Chris@102 5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Chris@102 6 ==============================================================================*/
Chris@102 7 #if !defined(BOOST_SPIRIT_COPY_FEBRUARY_7_2012_0159PM)
Chris@102 8 #define BOOST_SPIRIT_COPY_FEBRUARY_7_2012_0159PM
Chris@102 9
Chris@102 10 #include <boost/config.hpp>
Chris@102 11 #include <boost/proto/proto.hpp>
Chris@102 12
Chris@102 13 #if defined(_MSC_VER)
Chris@102 14 #pragma once
Chris@102 15 #endif
Chris@102 16
Chris@102 17 #if !defined(BOOST_NO_CXX11_AUTO_DECLARATIONS)
Chris@102 18
Chris@102 19 namespace boost { namespace spirit { namespace qi
Chris@102 20 {
Chris@102 21 template <typename Expr>
Chris@102 22 typename boost::proto::result_of::deep_copy<Expr>::type
Chris@102 23 copy(Expr const& expr)
Chris@102 24 {
Chris@102 25 BOOST_SPIRIT_ASSERT_MATCH(boost::spirit::qi::domain, Expr);
Chris@102 26 return boost::proto::deep_copy(expr);
Chris@102 27 }
Chris@102 28 }}}
Chris@102 29
Chris@102 30 #endif
Chris@102 31 #endif