Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:52:42

0001 //  (C) Copyright Gennadiy Rozental 2001.
0002 //  Distributed under the Boost Software License, Version 1.0.
0003 //  (See accompanying file LICENSE_1_0.txt or copy at
0004 //  http://www.boost.org/LICENSE_1_0.txt)
0005 
0006 //  See http://www.boost.org/libs/test for the library home page.
0007 //
0008 //  File        : $RCSfile$
0009 //
0010 //  Version     : $Revision$
0011 //
0012 //  Description : overloadable assignment
0013 // ***************************************************************************
0014 
0015 #ifndef BOOST_TEST_UTILS_ASSIGN_OP_HPP
0016 #define BOOST_TEST_UTILS_ASSIGN_OP_HPP
0017 
0018 namespace boost {
0019 namespace unit_test {
0020 
0021 // ************************************************************************** //
0022 // **************             generic assign operator          ************** //
0023 // ************************************************************************** //
0024 
0025 // generic
0026 template<typename T,typename S>
0027 inline void
0028 assign_op( T& t, S const& s, long )
0029 {
0030     t = s;
0031 }
0032 
0033 //____________________________________________________________________________//
0034 
0035 } // namespace unit_test
0036 } // namespace boost
0037 
0038 #endif // BOOST_TEST_UTILS_ASSIGN_OP_HPP
0039