Explicitly disable copy assignment operator
This commit is contained in:
parent
3b2441b87f
commit
862c39be37
@ -326,6 +326,8 @@ private:
|
|||||||
//! Disallow construction from non-const array
|
//! Disallow construction from non-const array
|
||||||
template<SizeType N>
|
template<SizeType N>
|
||||||
GenericStringRef(CharType (&str)[N]) /* = delete */;
|
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
|
//! Mark a character pointer as constant string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user