Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59643 - sandbox/statistics/detail/assign/boost/assign
From: erwann.rogard_at_[hidden]
Date: 2010-02-11 15:00:44


Author: e_r
Date: 2010-02-11 15:00:44 EST (Thu, 11 Feb 2010)
New Revision: 59643
URL: http://svn.boost.org/trac/boost/changeset/59643

Log:
m
Added:
   sandbox/statistics/detail/assign/boost/assign/ref_copy_list_of.hpp
      - copied unchanged from r59640, /sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp
Removed:
   sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp

Deleted: sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp 2010-02-11 15:00:44 EST (Thu, 11 Feb 2010)
+++ (empty file)
@@ -1,43 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// assign::ref_copy_list_of_copy.hpp //
-// //
-// (C) Copyright 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_REF_COPY_LIST_OF_COPY_ER_2010_HPP
-#define BOOST_ASSIGN_REF_COPY_LIST_OF_COPY_ER_2010_HPP
-#include <boost/assign/detail/ref_list_of_auto_size_copy_rebind.hpp>
-
-// Usage 1:
-// std::vector<T> vec = cref_copy_list_of(a)(b)(c);
-// Usage 2:
-// boost::array<T,3> vec = cref_copy_list_of(a)(b)(c);
-// Usage 3:
-// boost::fill( ref_list_of(a)(b)(c), 0);
-//
-// The name copy is to emphasize that copy semantics are used, in constrast to
-// ref_list_of() which uses rebind semantics.
-
-namespace boost{
-namespace assign{
-
- template<typename T>
- typename detail::auto_size::copy_first<const T>::type
- cref_copy_list_of(const T& t){
- typedef typename detail::auto_size::copy_first<const T>::type expr_;
- return expr_(t);
- }
-
- template<typename T>
- typename detail::auto_size::copy_first<T>::type
- ref_copy_list_of(T& t){
- typedef typename detail::auto_size::copy_first<T>::type expr_;
- return expr_(t);
- }
-
-}// 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