Skip to content
Snippets Groups Projects
Commit 7c306a75 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

simplify string

parent 1f8617b9
No related branches found
No related tags found
No related merge requests found
......@@ -15,10 +15,6 @@
 
namespace string {
 
StringBase::StringBase() {
}
StringBase::~StringBase() noexcept {
 
}
......
......@@ -16,8 +16,6 @@
namespace string {
 
class String;
class LinearString;
class CyclicString;
class Epsilon;
......@@ -27,7 +25,6 @@ class Epsilon;
*/
class StringBase : public std::elementBase<Epsilon, LinearString, CyclicString> {
public:
StringBase();
virtual ~StringBase() noexcept;
 
virtual StringBase* clone() const = 0;
......@@ -57,12 +54,6 @@ public:
virtual void operator>>(std::ostream& out) const = 0;
 
virtual operator std::string () const = 0;
friend class String;
friend class Epsilon;
friend class LinearString;
friend class CyclicString;
};
 
} /* namespace string */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment