📄 error.hpp
字号:
///////////////////////////////////////////////////////////////////////////////
/// \file error.hpp
/// A special-purpose proto compiler that simply generates an error. Useful for
/// flagging certain constructs as illegal.
//
// Copyright 2004 Eric Niebler. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_PROTO_COMPILER_ERROR_HPP_EAN_04_01_2005
#define BOOST_PROTO_COMPILER_ERROR_HPP_EAN_04_01_2005
#include <boost/xpressive/proto/proto_fwd.hpp>
namespace boost { namespace proto
{
///////////////////////////////////////////////////////////////////////////////
// error_compiler
struct error_compiler
{
template<typename Op, typename State, typename Visitor>
struct apply
{
typedef void type;
};
};
}}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -