bin_op_expr.hpp
来自「矩阵运算源码最新版本」· HPP 代码 · 共 35 行
HPP
35 行
// Software License for MTL// // Copyright (c) 2007 The Trustees of Indiana University. All rights reserved.// Authors: Peter Gottschling and Andrew Lumsdaine// // This file is part of the Matrix Template Library// // See also license.mtl.txt in the distribution.#ifndef MTL_BIN_OP_EXPR_INCLUDE#define MTL_BIN_OP_EXPR_INCLUDEnamespace mtl {/// Minimalistic expression template for binary operation: keeps only references.template <typename E1, typename E2>struct bin_op_expr{ typedef bin_op_expr self; typedef E1 first_argument_type ; typedef E2 second_argument_type ; bin_op_expr( first_argument_type const& v1, second_argument_type const& v2 ) : first( v1 ), second( v2 ) {} first_argument_type const& first ; second_argument_type const& second ;};} // namespace mtl#endif // MTL_BIN_OP_EXPR_INCLUDE
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?