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.
21 lines
412 B
21 lines
412 B
#pragma once
|
|
|
|
#include "vector.hpp"
|
|
#include "iterator.hpp"
|
|
#include "iostream"
|
|
|
|
|
|
template <T> is_integer(T input) {}
|
|
|
|
template<bool B, class T = void> struct enable_if {};
|
|
|
|
template<class T> struct enable_if<true, T> { typedef T type; };
|
|
|
|
template <class T>
|
|
void debug_vector(ft::vector<T> vec) {
|
|
ft::ra_iterator<T> i = vec.begin();
|
|
while (i < vec.end()) {
|
|
std::cout << *i << " ";
|
|
}
|
|
std::cout << "\n";
|
|
}
|
|
|