/**
 * Autogenerated by Thrift for thrift/compiler/test/fixtures/int_limits/src/module.thrift
 *
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
 *  @generated @nocommit
 */
#pragma once

#include "thrift/compiler/test/fixtures/int_limits/gen-cpp2/module_metadata.h"
#include <thrift/lib/cpp2/visitation/for_each.h>

namespace apache {
namespace thrift {
namespace detail {

template <>
struct ForEachField<::cpp2::Limits> {
  template <typename F, typename... T>
  void operator()([[maybe_unused]] F&& f, [[maybe_unused]] T&&... t) const {
    f(0, static_cast<T&&>(t).max_i64_field_ref()...);
    f(1, static_cast<T&&>(t).min_i64_field_ref()...);
    f(2, static_cast<T&&>(t).max_i32_field_ref()...);
    f(3, static_cast<T&&>(t).min_i32_field_ref()...);
    f(4, static_cast<T&&>(t).max_i16_field_ref()...);
    f(5, static_cast<T&&>(t).min_i16_field_ref()...);
    f(6, static_cast<T&&>(t).max_byte_field_ref()...);
    f(7, static_cast<T&&>(t).min_byte_field_ref()...);
  }
};
} // namespace detail
} // namespace thrift
} // namespace apache
