sources/list.h

changeset 191
2e6cbacafdc7
parent 190
90bf9049e5eb
--- a/sources/list.h	Wed Jan 27 19:28:18 2021 +0200
+++ b/sources/list.h	Wed Jan 27 19:32:55 2021 +0200
@@ -35,16 +35,12 @@
 BEGIN_ZFC_NAMESPACE
 
 template<typename T>
-using Vector = std::vector<T>;
-
-template<typename T>
 auto& last(T& container)
 {
 	return *(container.begin() + container.size() - 1);
 }
 
-using ByteArray = std::vector<unsigned char>;
-std::string quote(const ByteArray& bytes);
+std::string quote(const std::vector<unsigned char>& bytes);
 
 template<typename T>
 T splice(const T& container, int start, int end, int step = 1)

mercurial