Răsfoiți Sursa

doc: fixed missing prefix "L" (#622)

Alex Perry 5 ani în urmă
părinte
comite
52cade9267
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      docs/md/core.md

+ 1 - 1
docs/md/core.md

@@ -174,7 +174,7 @@ In this case, the user defined literal to use to create hashed strings on the
 fly is `_hws`:
 
 ```cpp
-constexpr auto str = "text"_hws;
+constexpr auto str = L"text"_hws;
 ```
 
 Note that the hash type of the `hashed_wstring` is the same of its counterpart.