text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   main.cpp                                           :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: vminomiy <vminomiy@student.42sp.org.br>    +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2022/03/28 23:28:55 by vminomiy          #+#    #+#             */
  /*   Updated: 2022/03/29 00:15:34 by vminomiy         ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include "iter.hpp"
  
  int		main(void) {
  	{
  		int array[7] = {1, 2, 3, 4, 5, 6, 42};
  		::iter(array, 7, printer);
  		std::cout << "------------------------------------------------------" << std::endl;
  	}
  	{
  		std::string array[3] = {"Banana", "maça", "coco"};
  		::iter(array, 3, printer);
  		std::cout << "------------------------------------------------------" << std::endl;
  	}
  	{
  		float array[3] = {10.1f, 42.2f, 5.4f};
  		::iter(array, 3, printer);
  		std::cout << "------------------------------------------------------" << std::endl;
  	}
  	{
  		double array[3] = {42.42, 2147483647.2147483647, -2147483648.2147483647};
  		::iter(array, 3, printer);
  		std::cout << "------------------------------------------------------" << std::endl;
  	}
  	{
  		char array[3] = {'a', 'c', 'z'};
  		::iter(array, 3, printer);
  		std::cout << "------------------------------------------------------" << std::endl;
  	}
  	return (0);
  }
  