Stiffstream / sobjectizer

An implementation of Actor, Publish-Subscribe, and CSP models in one rather small C++ framework. With performance, quality, and stability proved by years in the production.

Home Page:https://stiffstream.com/en/products/sobjectizer.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New method `as_string_view` for so_5::stats::prefix_t and so_5::stats::suffix_t

eao197 opened this issue · comments

The so_5::stats::prefix_t and so_5::stats::suffix_t have only c_str() method. It's because this types were created in pre-C++17 era. But after switching to C++17 it's possible to add as_string_view method to these types. Something like that:

[[nodiscard]] std::string_view as_string_view() const;

It's a part of v.5.8.2 release.