Albaro Pereyra (01 July 2024 23:31) quoted:
> /home/albaro/drogon-assist/drogon/assist/passwdhash.cpp: In function 
> ‘std::string drassist::secureRandomString(size_t)’:
> /home/albaro/drogon-assist/drogon/assist/passwdhash.cpp:20:15: error: 
> ‘string_view’ does not name a type
>    20 |         const string_view alphabet = 
> "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
>       |               ^~~~~~~~~~~

That sounds like it should say std::string_view and the omission of the std:: 
prefix is the issue.
Alternatively, a "using std;" declaration would make the prefix redundant.

        Eddy.

Reply via email to