Explicitly disable copy assignment operator

This commit is contained in:
Janusz Chorko 2016-08-26 21:26:50 +02:00
parent 3b2441b87f
commit 862c39be37

View File

@ -326,6 +326,8 @@ private:
//! Disallow construction from non-const array
template<SizeType N>
GenericStringRef(CharType (&str)[N]) /* = delete */;
//! Copy assignment operator not permitted - immutable type
GenericStringRef& operator=(const GenericStringRef& rhs) /* = delete */;
};
//! Mark a character pointer as constant string