rsl
1.1.0
ROS Support Library
|
Fixed capacity string with an implicit conversion to std::string_view. Capacity is specified as a template parameter. At runtime one may use up to the specified capacity. More...
#include <static_string.hpp>
Public Member Functions | |
StaticString ()=default | |
Construct an empty string. | |
StaticString (std::string const &string) | |
Construct from a std::string. | |
auto | begin () const |
Get a const begin iterator. | |
auto | end () const |
Get a const end iterator. | |
operator std::string_view () const | |
Implicit conversion to std::string_view. | |
Fixed capacity string with an implicit conversion to std::string_view. Capacity is specified as a template parameter. At runtime one may use up to the specified capacity.