'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Class template traits_<F, boost::mpl::true_>

odtone::conf::function::traits_<F, boost::mpl::true_>

Synopsis

// In header: </home/carlos/Projectos/odtone/inc/odtone/conf.hpp>


template<typename F> 
class traits_<F, boost::mpl::true_> {
public:
  // types
  typedef boost::mpl::erase< tmp, last >::type arg_types;

  // private member functions
   ODTONE_STATIC_ASSERT((boost::is_same< void, typename boost::function_types::result_type< F >::type >::value), 
                        "Result type must be void");
   ODTONE_STATIC_ASSERT((boost::is_same< pset_type const &, typename boost::mpl::deref< last >::type >::value), 
                        "Last argument must a const reference to a pset_type");

  // public data members
  static const size_t arg_count;
};

Description

traits_ private member functions

  1.  ODTONE_STATIC_ASSERT((boost::is_same< void, typename boost::function_types::result_type< F >::type >::value), 
                          "Result type must be void");
  2.  ODTONE_STATIC_ASSERT((boost::is_same< pset_type const &, typename boost::mpl::deref< last >::type >::value), 
                          "Last argument must a const reference to a pset_type");

PrevUpHomeNext