cpp/cpp08/ex01/Span.cpp
Alexandre POMMIER b9acd5add2 first push cpp08
2022-08-07 22:08:46 +02:00

58 lines
1.3 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Span.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/08/07 20:32:51 by apommier #+# #+# */
/* Updated: 2022/08/07 22:04:55 by apommier ### ########.fr */
/* */
/* ************************************************************************** */
Span::Span()
{
this->_storageSize = 0;
}
Span::Span(unsigned int size)
{
this->_storageSize = size;
}
Span::Span(const Span &copy)
{
*this = copy;
}
Span::~Span()
{
}
void Span::addNumber()
{
}
int Span::shortestSpan()
{
}
int Span::longestSpan()
{
}
void Span::addRangeOfIterators()
{
}
Span &Span::operator=( const Span &rhs )
{
this->_storageSize = rhs._storageSize;
this->_storage = rhs._storage;
return (*this);
}