Ver Fonte

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

Alex Perry há 5 anos atrás
pai
commit
52cade9267
1 ficheiros alterados com 1 adições e 1 exclusões
  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.