Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/test/utils/assign_op.hpp @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children | c530137014c0 |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
1 // (C) Copyright Gennadiy Rozental 2005-2008. | |
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: 49312 $ | |
11 // | |
12 // Description : overloadable assignment | |
13 // *************************************************************************** | |
14 | |
15 #ifndef BOOST_TEST_ASSIGN_OP_033005GER | |
16 #define BOOST_TEST_ASSIGN_OP_033005GER | |
17 | |
18 namespace boost { | |
19 | |
20 namespace unit_test { | |
21 | |
22 // ************************************************************************** // | |
23 // ************** generic assign operator ************** // | |
24 // ************************************************************************** // | |
25 | |
26 // generic | |
27 template<typename T,typename S> | |
28 inline void | |
29 assign_op( T& t, S const& s, long ) | |
30 { | |
31 t = s; | |
32 } | |
33 | |
34 //____________________________________________________________________________// | |
35 | |
36 } // namespace unit_test | |
37 | |
38 } // namespace boost | |
39 | |
40 #endif // BOOST_TEST_ASSIGN_OP_033005GER | |
41 |