mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Merge pull request #703 from amdn/master
T.44: Added `s` suffix to string literal
This commit is contained in:
@@ -14804,7 +14804,7 @@ Note that C++17 will make this rule redundant by allowing the template arguments
|
||||
[Template parameter deduction for constructors (Rev. 3)](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0091r1.html).
|
||||
For example:
|
||||
|
||||
tuple t1 = {1, "Hamlet", 3.14}; // deduced: tuple<int, string, double>
|
||||
tuple t1 = {1, "Hamlet"s, 3.14}; // deduced: tuple<int, string, double>
|
||||
|
||||
##### Enforcement
|
||||
|
||||
|
||||
Reference in New Issue
Block a user