Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70106 - in sandbox/assign_v2/libs/assign/v2/test/detail: . traits
From: erwann.rogard_at_[hidden]
Date: 2011-03-17 22:02:17


Author: e_r
Date: 2011-03-17 22:02:14 EDT (Thu, 17 Mar 2011)
New Revision: 70106
URL: http://svn.boost.org/trac/boost/changeset/70106

Log:
upd assign_v2
Removed:
   sandbox/assign_v2/libs/assign/v2/test/detail/traits/
   sandbox/assign_v2/libs/assign/v2/test/detail/traits.cpp
   sandbox/assign_v2/libs/assign/v2/test/detail/traits.h

Deleted: sandbox/assign_v2/libs/assign/v2/test/detail/traits.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/detail/traits.cpp 2011-03-17 22:02:14 EDT (Thu, 17 Mar 2011)
+++ (empty file)
@@ -1,56 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// 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) //
-//////////////////////////////////////////////////////////////////////////////
-#include <cstddef>
-#include <vector>
-#include <stack>
-#include <queue>
-#include <vector>
-#include <boost/assign/v2/detail/traits.hpp> // ensure it parses
-#include <boost/assign/v2/detail/traits/value_container/has_push.hpp>
-#include <boost/assign/v2/detail/traits/value_container/has_value_type.hpp>
-#include <boost/mpl/assert.hpp>
-#include <boost/static_assert.hpp>
-#include <libs/assign/v2/test/detail/traits.h>
-
-namespace test_assign_v2{
-namespace xxx_detail{
-namespace xxx_traits{
-
- void test(){
- namespace as2 = boost::assign::v2;
- namespace ns = as2::value_container_aux;
- {
- typedef std::queue<int> v_;
- BOOST_MPL_ASSERT(( ns::has_push<v_> ));
- }
- {
- typedef std::queue<int> v_;
- BOOST_MPL_ASSERT(( ns::has_push<v_> ));
- }
- {
- typedef std::vector<int> v_;
- BOOST_MPL_ASSERT_NOT(( ns::has_push<v_> ));
- }
- {
- typedef std::vector<int> inp_;
- typedef ns::has_value_type<inp_>::type pred_;
- BOOST_STATIC_ASSERT(pred_::value);
- }
- {
- typedef int inp_;
- typedef ns::has_value_type<inp_>::type pred_;
- BOOST_STATIC_ASSERT(!pred_::value);
- }
- }
-
-}// xxx_traits
-}// xxx_detail
-}// xxx_test_assign
-

Deleted: sandbox/assign_v2/libs/assign/v2/test/detail/traits.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/detail/traits.h 2011-03-17 22:02:14 EDT (Thu, 17 Mar 2011)
+++ (empty file)
@@ -1,23 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// 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 LIBS_ASSIGN_V2_TEST_DETAIL_TRAITS_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_DETAIL_TRAITS_ER_2010_H
-
-namespace test_assign_v2{
-namespace xxx_detail{
-namespace xxx_traits{
-
- void test();
-
-}// xxx_traits
-}// xxx_detail
-}// test_assign_v2
-
-#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