From 93a34ce42b055d59493637737554d63a58bea382 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Tr=C3=A1vn=C3=AD=C4=8Dek?= <jan.travnicek@fit.cvut.cz>
Date: Wed, 12 Jan 2022 21:57:41 +0100
Subject: [PATCH] std: remove not needed string extension

---
 alib2std/src/extensions/container/string.hpp | 85 --------------------
 1 file changed, 85 deletions(-)

diff --git a/alib2std/src/extensions/container/string.hpp b/alib2std/src/extensions/container/string.hpp
index f9300d65e7..3597b19976 100644
--- a/alib2std/src/extensions/container/string.hpp
+++ b/alib2std/src/extensions/container/string.hpp
@@ -27,91 +27,6 @@
 
 namespace ext {
 
-/**
- * Class extending the set class from the standard library. Original reason is to allow printing of the container with overloaded operator <<.
- *
- * The class mimics the behavior of the set from the standard library.
- *
- */
-class string : public std::string {
-public:
-	/**
-	 * Inherit constructors of the standard set
-	 */
-	using std::string::string; // NOLINT(modernize-use-equals-default)
-
-	/**
-	 * Inherit operator = of the standard set
-	 */
-	using std::string::operator =;
-#ifndef __clang__
-
-	/**
-	 * Default constructor needed by g++ since it is not inherited
-	 */
-	string ( ) = default;
-
-	/**
-	 * Copy constructor needed by g++ since it is not inherited
-	 */
-	string ( const string & other ) = default;
-
-	/**
-	 * Move constructor needed by g++ since it is not inherited
-	 */
-	string ( string && other ) = default;
-
-	/**
-	 * Copy operator = needed by g++ since it is not inherited
-	 */
-	string & operator = ( string && other ) = default;
-
-	/**
-	 * Move operator = needed by g++ since it is not inherited
-	 */
-	string & operator = ( const string & other ) = default;
-#endif
-	/**
-	 * \brief
-	 * Constructor from standard string.
-	 *
-	 * \param the standard string
-	 */
-	explicit string ( const std::string & other ) noexcept : std::string ( other ) {
-	}
-
-	/**
-	 * \brief
-	 * Constructor from standard string.
-	 *
-	 * \param the standard string
-	 */
-	explicit string ( std::string && other ) noexcept : std::string ( std::move ( other ) ) {
-	}
-
-	/**
-	 * \brief
-	 * Assignment from standard string.
-	 *
-	 * \param the standard string
-	 */
-	string & operator = ( std::string && other ) noexcept {
-		static_cast < std::string & > ( * this ) = std::move ( other );
-		return * this;
-	}
-
-	/**
-	 * \brief
-	 * Assignment from standard string.
-	 *
-	 * \param the standard string
-	 */
-	string & operator = ( const std::string & other ) noexcept {
-		static_cast < std::string & > ( * this ) = other;
-		return * this;
-	}
-};
-
 /**
  * \brief
  * To string method designated for objects that can be casted to string.
-- 
GitLab