Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68506 - sandbox/assign_v2/boost/assign/v2/detail/checking
From: erwann.rogard_at_[hidden]
Date: 2011-01-27 18:42:32


Author: e_r
Date: 2011-01-27 18:42:31 EST (Thu, 27 Jan 2011)
New Revision: 68506
URL: http://svn.boost.org/trac/boost/changeset/68506

Log:
upd assign_v2
Added:
   sandbox/assign_v2/boost/assign/v2/detail/checking/equal.hpp (contents, props changed)

Added: sandbox/assign_v2/boost/assign/v2/detail/checking/equal.hpp
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/boost/assign/v2/detail/checking/equal.hpp 2011-01-27 18:42:31 EST (Thu, 27 Jan 2011)
@@ -0,0 +1,44 @@
+//////////////////////////////////////////////////////////////////////////////
+// Boost.Assign v2 //
+// //
+// Copyright (C) 2003-2004 Thorsten Ottosen //
+// Copyright (C) 2010 Erwann Rogard //
+// Use, modification and distribution are subject to 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) //
+//////////////////////////////////////////////////////////////////////////////
+#ifndef BOOST_ASSIGN_V2_DETAIL_CHECKING_EQUAL_ER_2010_HPP
+#define BOOST_ASSIGN_V2_DETAIL_CHECKING_EQUAL_ER_2010_HPP
+#include <boost/assign/v2/detail/checking/check.hpp>
+
+namespace boost{
+namespace assign{
+namespace v2{
+namespace checking{
+
+ struct equal_val{
+
+ equal_val(){}
+ template<typename T, typename U>
+ void operator()(T const& t, U const& u)const
+ {
+ BOOST_ASSIGN_V2_CHECK( t == u );
+ }
+ };
+
+ struct equal_ref{
+
+ equal_ref(){}
+ template<typename T, typename U>
+ void operator()(T const& t, U const& u)const
+ {
+ BOOST_ASSIGN_V2_CHECK( &t == &u );
+ }
+ };
+
+}// checking
+}// v2
+}// assign
+}// boost
+
+#endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk