assign_op.hpp
来自「C++的一个好库。。。现在很流行」· HPP 代码 · 共 51 行
HPP
51 行
// (C) Copyright Gennadiy Rozental 2005.
// 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)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile: assign_op.hpp,v $
//
// Version : $Revision: 1.1 $
//
// Description : overloadable assignment
// ***************************************************************************
#ifndef BOOST_TEST_ASSIGN_OP_033005GER
#define BOOST_TEST_ASSIGN_OP_033005GER
namespace boost {
namespace unit_test {
// ************************************************************************** //
// ************** generic assign operator ************** //
// ************************************************************************** //
// generic
template<typename T,typename S>
inline void
assign_op( T& t, S const& s, long )
{
t = s;
}
//____________________________________________________________________________//
} // namespace unit_test
} // namespace boost
// ***************************************************************************
// Revision History:
//
// $Log: assign_op.hpp,v $
// Revision 1.1 2005/04/12 06:48:12 rogeeff
// Runtime.Param library initial commit
//
// ***************************************************************************
#endif // BOOST_TEST_ASSIGN_OP_033005GER
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?