Robotka
Knihovna pro obsluhu Robotky.
|
#include <core.h>
Veřejné metody | |
FMT_CONSTEXPR | basic_string_view (const Char *s, size_t count) FMT_NOEXCEPT |
basic_string_view (const Char *s) | |
template<typename Traits , typename Alloc > | |
FMT_CONSTEXPR | basic_string_view (const std::basic_string< Char, Traits, Alloc > &s) FMT_NOEXCEPT |
FMT_CONSTEXPR const Char * | data () const |
FMT_CONSTEXPR size_t | size () const |
An implementation of std::basic_string_view
for pre-C++17. It provides a subset of the API. fmt::basic_string_view
is used for format strings even if std::string_view
is available to prevent issues when a library is compiled with a different -std
option than the client code (which is not recommended).
|
inline |
Constructs a string reference object from a C string and a size.
|
inline |
\rst Constructs a string reference object from a C string computing the size with std::char_traits<Char>::length
. \endrst
|
inline |
Constructs a string reference from a std::basic_string
object.
|
inline |
Returns a pointer to the string data.
|
inline |
Returns the string size.