31 #ifndef LEDGER_CORE_STRING_HPP 32 #define LEDGER_CORE_STRING_HPP 39 template <
typename C,
class Backend>
50 CharSequence(
const C *base,
size_t size) : _backend(base, size) {
60 for (
auto i = 0; i < number; i++) {
68 ss << _backend << str._backend;
72 std::stringstream& operator<<(std::stringstream& ss) {
73 return ss << _backend;
80 const std::string& str()
const {
84 const C* toCString()
const {
85 return _backend.c_str();
88 operator std::string()
const {
100 String operator "" _S(
const char* str,
size_t size);
106 #endif //LEDGER_CORE_STRING_HPP Definition: Account.cpp:8
Definition: String.hpp:40