parameter.hh
Go to the documentation of this file.
1 //
2 // Copyright (c) 2020 Fraunhofer Institute for Applied Information Technology (FIT)
3 // Network Research Group (NET)
4 // Schloss Birlinghoven, 53754 Sankt Augustin, GERMANY
5 // Contact: support@wiback.org
6 //
7 // This file is part of the SENF code tree.
8 // It is licensed under the 3-clause BSD License (aka New BSD License).
9 // See LICENSE.txt in the top level directory for details or visit
10 // https://opensource.org/licenses/BSD-3-Clause
11 //
12 
13 
24 #ifndef HH_SENF_Utils_parameter_
25 #define HH_SENF_Utils_parameter_ 1
26 
27 // Custom includes
28 #include <boost/parameter/binding.hpp>
29 #include <boost/type_traits/is_same.hpp>
30 #include <boost/mpl/not.hpp>
31 
32 //#include "parameter.mpp"
33 //-/////////////////////////////////////////////////////////////////////////////////////////////////
34 
35 namespace senf {
36 
38  //\{
39 
49  template <class ArgumentPack, class TagType>
51  : public boost::mpl::not_<
52  boost::is_same< typename boost::parameter::binding< ArgumentPack, TagType, void>::type,
53  void > >::type
54  {};
55 
56  //\}
57 }
58 
59 //-/////////////////////////////////////////////////////////////////////////////////////////////////
60 //#include "parameter.cci"
61 //#include "parameter.ct"
62 //#include "parameter.cti"
63 #endif
64 
65 
66 // Local Variables:
67 // mode: c++
68 // fill-column: 100
69 // comment-column: 40
70 // c-file-style: "senf"
71 // indent-tabs-mode: nil
72 // ispell-local-dictionary: "american"
73 // compile-command: "scons -u test"
74 // End:
Test ArgumentPack, whether the TagType argument was supplied.
Definition: parameter.hh:50