3#include <ossia/network/value/value.hpp> 
    6template <
typename Functor>
 
    8    Functor&& functor, 
const value_variant_type& arg0, 
const behavior_variant_type& arg1)
 
   12    case value_variant_type::Type::Type0: {
 
   15        case behavior_variant_type::Type::Type0: {
 
   16          return functor(arg0.m_impl.m_value0, arg1.m_impl.m_value0);
 
   18        case behavior_variant_type::Type::Type1: {
 
   19          return functor(arg0.m_impl.m_value0, arg1.m_impl.m_value1);
 
   22          throw std::runtime_error(
"misc_visitors: bad type");
 
   25    case value_variant_type::Type::Type1: {
 
   28        case behavior_variant_type::Type::Type0: {
 
   29          return functor(arg0.m_impl.m_value1, arg1.m_impl.m_value0);
 
   31        case behavior_variant_type::Type::Type1: {
 
   32          return functor(arg0.m_impl.m_value1, arg1.m_impl.m_value1);
 
   35          throw std::runtime_error(
"misc_visitors: bad type");
 
   38    case value_variant_type::Type::Type2: {
 
   41        case behavior_variant_type::Type::Type0: {
 
   42          return functor(arg0.m_impl.m_value2, arg1.m_impl.m_value0);
 
   44        case behavior_variant_type::Type::Type1: {
 
   45          return functor(arg0.m_impl.m_value2, arg1.m_impl.m_value1);
 
   48          throw std::runtime_error(
"misc_visitors: bad type");
 
   51    case value_variant_type::Type::Type3: {
 
   54        case behavior_variant_type::Type::Type0: {
 
   55          return functor(arg0.m_impl.m_value3, arg1.m_impl.m_value0);
 
   57        case behavior_variant_type::Type::Type1: {
 
   58          return functor(arg0.m_impl.m_value3, arg1.m_impl.m_value1);
 
   61          throw std::runtime_error(
"misc_visitors: bad type");
 
   64    case value_variant_type::Type::Type4: {
 
   67        case behavior_variant_type::Type::Type0: {
 
   68          return functor(arg0.m_impl.m_value4, arg1.m_impl.m_value0);
 
   70        case behavior_variant_type::Type::Type1: {
 
   71          return functor(arg0.m_impl.m_value4, arg1.m_impl.m_value1);
 
   74          throw std::runtime_error(
"misc_visitors: bad type");
 
   77    case value_variant_type::Type::Type5: {
 
   80        case behavior_variant_type::Type::Type0: {
 
   81          return functor(arg0.m_impl.m_value5, arg1.m_impl.m_value0);
 
   83        case behavior_variant_type::Type::Type1: {
 
   84          return functor(arg0.m_impl.m_value5, arg1.m_impl.m_value1);
 
   87          throw std::runtime_error(
"misc_visitors: bad type");
 
   90    case value_variant_type::Type::Type6: {
 
   93        case behavior_variant_type::Type::Type0: {
 
   94          return functor(arg0.m_impl.m_value6, arg1.m_impl.m_value0);
 
   96        case behavior_variant_type::Type::Type1: {
 
   97          return functor(arg0.m_impl.m_value6, arg1.m_impl.m_value1);
 
  100          throw std::runtime_error(
"misc_visitors: bad type");
 
  103    case value_variant_type::Type::Type7: {
 
  106        case behavior_variant_type::Type::Type0: {
 
  107          return functor(arg0.m_impl.m_value7, arg1.m_impl.m_value0);
 
  109        case behavior_variant_type::Type::Type1: {
 
  110          return functor(arg0.m_impl.m_value7, arg1.m_impl.m_value1);
 
  113          throw std::runtime_error(
"misc_visitors: bad type");
 
  116    case value_variant_type::Type::Type8: {
 
  119        case behavior_variant_type::Type::Type0: {
 
  120          return functor(arg0.m_impl.m_value8, arg1.m_impl.m_value0);
 
  122        case behavior_variant_type::Type::Type1: {
 
  123          return functor(arg0.m_impl.m_value8, arg1.m_impl.m_value1);
 
  126          throw std::runtime_error(
"misc_visitors: bad type");
 
  129    case value_variant_type::Type::Type9: {
 
  132        case behavior_variant_type::Type::Type0: {
 
  133          return functor(arg0.m_impl.m_value9, arg1.m_impl.m_value0);
 
  135        case behavior_variant_type::Type::Type1: {
 
  136          return functor(arg0.m_impl.m_value9, arg1.m_impl.m_value1);
 
  139          throw std::runtime_error(
"misc_visitors: bad type");
 
  143      throw std::runtime_error(
"misc_visitors: bad type");