All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
component_traits.hpp
Go to the documentation of this file.
1 //=======================================================================
2 // Copyright (c) 2013 Piotr Wygocki
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See
5 // accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
7 //=======================================================================
15 #ifndef PAAL_COMPONENT_TRAITS_HPP
16 #define PAAL_COMPONENT_TRAITS_HPP
17 #include "components.hpp"
18 
19 namespace paal {
20 namespace data_structures {
21 
22 template <typename components> struct component_traits;
23 
24 template <typename Names, typename Types>
25 struct component_traits<detail::components<Names, Types>> {
26  template <typename Name>
28 };
29 }
30 }
31 #endif // PAAL_COMPONENT_TRAITS_HPP
If Name is kth on Names list, returns kth Type.
Definition: components.hpp:52