1 ///////////////////////////////////////////////////////////////////////////////
2 /// \file construct_pod_funop.hpp
3 /// Overloads of construct_\<\>::operator().
5 // Copyright 2008 Eric Niebler. Distributed under the Boost
6 // Software License, Version 1.0. (See accompanying file
7 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
10 Type operator ()(A0 &a0) const
15 template<typename A0 , typename A1>
17 Type operator ()(A0 &a0 , A1 &a1) const
19 Type that = {a0 , a1};
22 template<typename A0 , typename A1 , typename A2>
24 Type operator ()(A0 &a0 , A1 &a1 , A2 &a2) const
26 Type that = {a0 , a1 , a2};
29 template<typename A0 , typename A1 , typename A2 , typename A3>
31 Type operator ()(A0 &a0 , A1 &a1 , A2 &a2 , A3 &a3) const
33 Type that = {a0 , a1 , a2 , a3};
36 template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4>
38 Type operator ()(A0 &a0 , A1 &a1 , A2 &a2 , A3 &a3 , A4 &a4) const
40 Type that = {a0 , a1 , a2 , a3 , a4};
43 template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5>
45 Type operator ()(A0 &a0 , A1 &a1 , A2 &a2 , A3 &a3 , A4 &a4 , A5 &a5) const
47 Type that = {a0 , a1 , a2 , a3 , a4 , a5};
50 template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6>
52 Type operator ()(A0 &a0 , A1 &a1 , A2 &a2 , A3 &a3 , A4 &a4 , A5 &a5 , A6 &a6) const
54 Type that = {a0 , a1 , a2 , a3 , a4 , a5 , a6};
57 template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7>
59 Type operator ()(A0 &a0 , A1 &a1 , A2 &a2 , A3 &a3 , A4 &a4 , A5 &a5 , A6 &a6 , A7 &a7) const
61 Type that = {a0 , a1 , a2 , a3 , a4 , a5 , a6 , a7};
64 template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8>
66 Type operator ()(A0 &a0 , A1 &a1 , A2 &a2 , A3 &a3 , A4 &a4 , A5 &a5 , A6 &a6 , A7 &a7 , A8 &a8) const
68 Type that = {a0 , a1 , a2 , a3 , a4 , a5 , a6 , a7 , a8};
71 template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 , typename A9>
73 Type operator ()(A0 &a0 , A1 &a1 , A2 &a2 , A3 &a3 , A4 &a4 , A5 &a5 , A6 &a6 , A7 &a7 , A8 &a8 , A9 &a9) const
75 Type that = {a0 , a1 , a2 , a3 , a4 , a5 , a6 , a7 , a8 , a9};