Jeff Thompson | ef2d5a4 | 2013-08-22 19:09:24 -0700 | [diff] [blame] | 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 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 15 | #ifndef NDNBOOST_TEST_ASSIGN_OP_033005GER |
| 16 | #define NDNBOOST_TEST_ASSIGN_OP_033005GER |
Jeff Thompson | ef2d5a4 | 2013-08-22 19:09:24 -0700 | [diff] [blame] | 17 | |
| 18 | namespace ndnboost { |
| 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 ndnboost |
| 39 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 40 | #endif // NDNBOOST_TEST_ASSIGN_OP_033005GER |
Jeff Thompson | ef2d5a4 | 2013-08-22 19:09:24 -0700 | [diff] [blame] | 41 | |