1 // (C) Copyright Gennadiy Rozental 2005-2014. 2 // Distributed under the Boost Software License, Version 1.0. 3 // (See accompanying file LICENSE_1_0.txt or copy at 4 // http://www.boost.org/LICENSE_1_0.txt) 5 6 // See http://www.boost.org/libs/test for the library home page. 7 // 8 // File : $RCSfile$ 9 // 10 // Version : $Revision$ 11 // 12 // Description : overloadable assignment 13 // *************************************************************************** 14 15 #ifndef BOOST_TEST_UTILS_ASSIGN_OP_HPP 16 #define BOOST_TEST_UTILS_ASSIGN_OP_HPP 17 18 namespace boost { 19 namespace unit_test { 20 21 // ************************************************************************** // 22 // ************** generic assign operator ************** // 23 // ************************************************************************** // 24 25 // generic 26 template<typename T,typename S> 27 inline void assign_op(T & t,S const & s,long)28assign_op( T& t, S const& s, long ) 29 { 30 t = s; 31 } 32 33 //____________________________________________________________________________// 34 35 } // namespace unit_test 36 } // namespace boost 37 38 #endif // BOOST_TEST_UTILS_ASSIGN_OP_HPP 39 40