Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69798 - sandbox/assign_v2/boost/assign/v2/ref/array/alloc
From: erwann.rogard_at_[hidden]
Date: 2011-03-09 16:24:04


Author: e_r
Date: 2011-03-09 16:23:59 EST (Wed, 09 Mar 2011)
New Revision: 69798
URL: http://svn.boost.org/trac/boost/changeset/69798

Log:
upd assign_v2
Added:
   sandbox/assign_v2/boost/assign/v2/ref/array/alloc/impl_traits.hpp (contents, props changed)

Added: sandbox/assign_v2/boost/assign/v2/ref/array/alloc/impl_traits.hpp
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/boost/assign/v2/ref/array/alloc/impl_traits.hpp 2011-03-09 16:23:59 EST (Wed, 09 Mar 2011)
@@ -0,0 +1,37 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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_REF_ARRAY_ALLOC_IMPL_TRAITS_ER_2010_HPP
+#define BOOST_ASSIGN_V2_REF_ARRAY_ALLOC_IMPL_TRAITS_ER_2010_HPP
+#include <boost/array.hpp>
+#include <boost/assign/v2/ref/wrapper.hpp>
+#include <boost/assign/v2/ref/array/size_type.hpp>
+
+namespace boost{
+namespace assign{
+namespace v2{
+namespace ref{
+namespace array_aux{
+
+ template<size_type N, typename T, typename Tag = ref::assign_tag::copy>
+ struct impl_traits
+ {
+ typedef T value_type;
+ typedef Tag assign_tag;
+ typedef typename ref::wrapper<assign_tag, value_type> wrapper_type;
+ typedef boost::array<wrapper_type, N> array_type;
+ };
+
+}// array_aux
+}// ref
+}// v2
+}// assign
+}// boost
+
+#endif // BOOST_ASSIGN_V2_REF_ARRAY_IMPL_TRAITS_ER_2010_HPP


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