ft_containers/containers/iterators/make_pair.hpp
2022-11-22 14:21:39 +01:00

24 lines
1.0 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* make_pair.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/11/22 12:04:50 by apommier #+# #+# */
/* Updated: 2022/11/22 14:05:43 by apommier ### ########.fr */
/* */
/* ************************************************************************** */
#pragma once
#include "pair.hpp"
namespace ft
{
template <class T1,class T2>
pair<T1,T2> make_pair (T1 x, T2 y)
{
return ( pair<T1,T2>(x,y) );
}
}