/* * StringBase.cpp * * Created on: Mar 26, 2013 * Author: Jan Travnicek */ #include "StringBase.h" #include <typeinfo> #include "LinearString.h" #include "CyclicString.h" #include "Epsilon.h" #include <algorithm> namespace string { StringBase::~StringBase() noexcept { } bool StringBase::operator>=(const StringBase& other) const { return !(*this < other); } bool StringBase::operator<=(const StringBase& other) const { return !(*this > other); } bool StringBase::operator !=(const StringBase& other) const { return !(*this == other); } std::ostream& operator<<(std::ostream& out, const StringBase& string) { string >> out; return out; } } /* namespace string */