3 #include "telnetpp/command.hpp" 4 #include "telnetpp/negotiation.hpp" 5 #include "telnetpp/subnegotiation.hpp" 6 #include <boost/any.hpp> 7 #include <boost/variant.hpp> 20 using element = boost::variant<
33 using token = boost::variant<element, boost::any>;
41 using stream_token = boost::variant<u8stream, boost::any>;
49 using result_type = std::vector<token>;
51 template <
class InputIterator1,
class InputIterator2>
52 std::vector<token> operator()(InputIterator1 begin, InputIterator2 end)
const 54 return std::accumulate(
58 [](
auto &&lhs,
auto &&rhs)
60 lhs.insert(lhs.end(), rhs.begin(), rhs.end());
A combiner for tokens.
Definition: element.hpp:47
Definition: byte_converter.hpp:4