You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

26 lines
1.0 KiB

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* enable_if.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: pohl <pohl@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/29 15:47:50 by pohl #+# #+# */
/* Updated: 2021/11/29 15:49:42 by pohl ### ########.fr */
/* */
/* ************************************************************************** */
namespace ft
{
template<bool, typename T = void>
struct enable_if
{};
template<typename T>
struct enable_if<true, T>
{
typedef T type;
};
}