blob: b791918d1ff1a040e6a7ef1fe53039eb7b578d7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef STR_BUFFER_HH
#define STR_BUFFER_HH
#include "buffer.hh"
#include <memory>
#include <string>
#include <string_view>
std::unique_ptr<RoBuffer> make_strbuffer(std::string content);
std::unique_ptr<RoBuffer> make_strbuffer(std::string_view content);
std::unique_ptr<Buffer> make_strbuffer(std::shared_ptr<std::string> content);
#endif // STR_BUFFER_HH
|