|
emlabcpp
modern opinionated embedded C++ library
|
#include <string_buffer.h>
Public Types | |
| using | base_type = std::array< char, N > |
Public Member Functions | |
| constexpr | string_buffer () |
| constexpr | string_buffer (std::string_view sv) |
| template<std::size_t M> | |
| constexpr | string_buffer (char const (&msg)[M]) |
| template<std::size_t M> | |
| constexpr | string_buffer (string_buffer< M > const &msg) |
| operator std::string_view () const | |
| std::string_view | sv () const |
| constexpr auto | begin () |
| constexpr auto | begin () const |
| constexpr auto | end () |
| constexpr auto | end () const |
| constexpr char * | data () |
| constexpr char const * | data () const |
| constexpr std::size_t | size () const |
| template<std::size_t M> | |
| constexpr auto | operator<=> (string_buffer< M > const &other) const noexcept |
| template<std::size_t M> | |
| constexpr bool | operator== (string_buffer< M > const &other) const noexcept |
| constexpr bool | operator== (std::string_view other) const noexcept |
| string_buffer & | extend (std::string_view sv) |
Static Public Attributes | |
| static constexpr std::size_t | capacity = N |
| using emlabcpp::string_buffer< N >::base_type = std::array< char, N > |
|
inlineconstexpr |
References emlabcpp::string_buffer< N >::data(), and emlabcpp::N.
|
inlineconstexpr |
References emlabcpp::min(), emlabcpp::N, and emlabcpp::string_buffer< N >::sv().
|
inlineconstexpr |
References emlabcpp::string_buffer< N >::begin(), and emlabcpp::N.
|
inlineconstexpr |
References emlabcpp::string_buffer< N >::data(), and emlabcpp::N.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inline |
References emlabcpp::string_buffer< N >::sv().
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
References emlabcpp::N.
|
inline |
References emlabcpp::string_buffer< N >::data(), and emlabcpp::string_buffer< N >::size().
|
staticconstexpr |