asio C++ library

PrevUpHomeNext

buffer_literals::operator""_buf

Literal operator for creating const_buffer objects from string literals.

const_buffer operator""_buf(
    const char * data,
    std::size_t n);
  » more...

Literal operator for creating const_buffer objects from unbounded binary or hexadecimal integer literals.

template<
    char... Chars>
const_buffer operator""_buf();
  » more...
Requirements

Header: asio/buffer.hpp

Convenience header: asio.hpp


PrevUpHomeNext