Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81371 - sandbox/variadic_templates/sandbox/slim/test
From: cppljevans_at_[hidden]
Date: 2012-11-16 13:38:29


Author: cppljevans
Date: 2012-11-16 13:38:29 EST (Fri, 16 Nov 2012)
New Revision: 81371
URL: http://svn.boost.org/trac/boost/changeset/81371

Log:
move by adding . separator
Added:
   sandbox/variadic_templates/sandbox/slim/test/tuple_impl.horizontal.hpp
      - copied unchanged from r81370, /sandbox/variadic_templates/sandbox/slim/test/tuple_impl_horizontal.hpp
Removed:
   sandbox/variadic_templates/sandbox/slim/test/tuple_impl_horizontal.hpp

Deleted: sandbox/variadic_templates/sandbox/slim/test/tuple_impl_horizontal.hpp
==============================================================================
--- sandbox/variadic_templates/sandbox/slim/test/tuple_impl_horizontal.hpp 2012-11-16 13:38:29 EST (Fri, 16 Nov 2012)
+++ (empty file)
@@ -1,32 +0,0 @@
-#ifndef TUPLE_IMPL_HORIZONTAL_INCLUDE_HPP
-#define TUPLE_IMPL_HORIZONTAL_INCLUDE_HPP
-#include "make_indexes.hpp"
- template<typename Key, typename Value>
- struct element
- ;
- template<int Key, typename Value>
- struct element<int_key<Key>,Value>
- {
- Value value;
- };
- template<typename Keys, typename... Args>
- struct tuple_impl
- ;
- template<int... Indices, typename... Args>
- struct tuple_impl<int_indexes<Indices...>, Args...>
- : element<int_key<Indices>, Args>...
- {};
-
- template<typename... Args>
- struct tuple_bench
- : tuple_impl<typename make_indexes<sizeof...(Args)>::type, Args...>
- {
- };
-
- template<int Key, typename Value>
- Value&
- get(element<int_key<Key>,Value>& key_val)
- {
- return key_val.value;
- }
-#endif//TUPLE_IMPL_HORIZONTAL_INCLUDE_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