Closed ughstudios closed 2 years ago
const std::string GetRegistrationURL() { return std::string(BASE_URL) + std::string("/register"); } auto uri_str = utility::conversions::to_string_t(utility::conversions::utf8_to_utf16(GetRegistrationURL())); uri registration_uri(uri_str);
Why is this the only way to actually use std::string in this api??
std::string
most of it is just (possible overuse of) namespaces. Some using namespace or using directives can reduce verbosity considerably.
using namespace
using
Why is this the only way to actually use
std::string
in this api??