1 Aug
2014
1 Aug
'14
10:24 p.m.
On Aug 1, 2014, at 1:38 PM, Nathan Crookston
Андрей Давыдов wrote:
Those errors can be caught at compile time if class "basic_string_ref" defintion would contain lines like following:
template<typename Allocator> basic_string_ref(std::basic_string
&&) = delete; I cannot understant does it prevent any correct usage of string_ref?
+1. I can't think of a good reason to allow this.
It would mean that string_ref will no longer compile under C++03. [ But it can certainly be done for C++11 and later ] — Marshall