Commit 04c83d3c authored by neverlord's avatar neverlord

maintenance

parent 36fcc689
......@@ -173,7 +173,6 @@ nobase_library_include_HEADERS = \
cppa/util/callable_trait.hpp \
cppa/util/comparable.hpp \
cppa/util/compare_tuples.hpp \
cppa/util/concat_type_lists.hpp \
cppa/util/conjunction.hpp \
cppa/util/default_deallocator.hpp \
cppa/util/disable_if.hpp \
......
......@@ -23,7 +23,6 @@ unit_testing/test__spawn.cpp
src/mock_scheduler.cpp
cppa/actor.hpp
unit_testing/test__intrusive_ptr.cpp
cppa/util/concat_type_lists.hpp
cppa/util/is_comparable.hpp
cppa/util/callable_trait.hpp
unit_testing/test__type_list.cpp
......
......@@ -46,7 +46,6 @@
#include "cppa/util/enable_if.hpp"
#include "cppa/util/arg_match_t.hpp"
#include "cppa/util/callable_trait.hpp"
#include "cppa/util/concat_type_lists.hpp"
#include "cppa/detail/boxed.hpp"
#include "cppa/detail/unboxed.hpp"
......
......@@ -33,7 +33,6 @@
#include "cppa/util/callable_trait.hpp"
#include "cppa/util/compare_tuples.hpp"
#include "cppa/util/concat_type_lists.hpp"
#include "cppa/util/conjunction.hpp"
#include "cppa/util/disjunction.hpp"
#include "cppa/util/enable_if.hpp"
......
/******************************************************************************\
* ___ __ *
* /\_ \ __/\ \ *
* \//\ \ /\_\ \ \____ ___ _____ _____ __ *
* \ \ \ \/\ \ \ '__`\ /'___\/\ '__`\/\ '__`\ /'__`\ *
* \_\ \_\ \ \ \ \L\ \/\ \__/\ \ \L\ \ \ \L\ \/\ \L\.\_ *
* /\____\\ \_\ \_,__/\ \____\\ \ ,__/\ \ ,__/\ \__/.\_\ *
* \/____/ \/_/\/___/ \/____/ \ \ \/ \ \ \/ \/__/\/_/ *
* \ \_\ \ \_\ *
* \/_/ \/_/ *
* *
* Copyright (C) 2011, 2012 *
* Dominik Charousset <dominik.charousset@haw-hamburg.de> *
* *
* This file is part of libcppa. *
* libcppa is free software: you can redistribute it and/or modify it under *
* the terms of the GNU Lesser General Public License as published by the *
* Free Software Foundation, either version 3 of the License *
* or (at your option) any later version. *
* *
* libcppa is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with libcppa. If not, see <http://www.gnu.org/licenses/>. *
\******************************************************************************/
#ifndef CONCAT_TYPE_LISTS_HPP
#define CONCAT_TYPE_LISTS_HPP
#include "cppa/util/type_list.hpp"
namespace cppa { namespace util {
template<typename ListA, typename ListB>
struct concat_type_lists;
template<typename... ListATypes, typename... ListBTypes>
struct concat_type_lists<util::type_list<ListATypes...>, util::type_list<ListBTypes...>>
{
typedef util::type_list<ListATypes..., ListBTypes...> type;
};
} } // namespace cppa::util
#endif // CONCAT_TYPE_LISTS_HPP
......@@ -34,7 +34,7 @@ size_t test__type_list()
CPPA_CHECK((is_same<element_at<1, l1>::type, element_at<1, r1>::type>::value));
CPPA_CHECK((is_same<element_at<2, l1>::type, element_at<0, r1>::type>::value));
typedef concat_type_lists<type_list<int>, l1>::type l2;
typedef tl_concat<type_list<int>, l1>::type l2;
CPPA_CHECK((is_same<int, l2::head>::value));
CPPA_CHECK((is_same<l1, l2::tail>::value));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment