🏗️」 wip: added some macro for easier coding with iterator

This commit is contained in:
2025-04-22 11:41:05 +02:00
parent 6db9d66374
commit 1bd83e15b0
2 changed files with 15 additions and 22 deletions

View File

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/11 13:29:21 by mmoussou #+# #+# */
/* Updated: 2025/04/14 14:25:35 by adjoly ### ########.fr */
/* Updated: 2025/04/21 11:33:14 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -15,6 +15,7 @@
#ifndef __WEBSERV_WEBSERV_HPP__
# define __WEBSERV_WEBSERV_HPP__
#include <string>
#include <cstring>
#include <fstream>
@ -25,6 +26,10 @@
#include <sys/socket.h>
#include <netinet/in.h>
#define auto __auto_type
#define range(x) x.begin(); it != x.end(); it++
#define prange(x) x->begin(); it != x->end(); it++
#define BUFFER_SIZE 4096
namespace webserv {