mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +01:00
ircd::buffer: Add buffer_base::empty() for boost::spirit conceptual compliance.
This commit is contained in:
parent
a96f2ae030
commit
ac4ed03142
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ struct ircd::buffer::buffer
|
|||
auto &operator[](const size_t &i) const;
|
||||
auto &operator[](const size_t &i);
|
||||
|
||||
// For boost::spirit conceptual compliance.
|
||||
auto empty() const { return ircd::buffer::empty(*this); }
|
||||
|
||||
buffer(const it &start, const it &stop);
|
||||
buffer(const it &start, const size_t &size);
|
||||
buffer();
|
||||
|
|
Loading…
Reference in a new issue