MCPcopy Create free account
hub / github.com/boostorg/asio / operator ""_buf

Function operator ""_buf

include/boost/asio/buffer.hpp:2869–2872  ·  view source on GitHub ↗

Literal operator for creating const_buffer objects from string literals.

Source from the content-addressed store, hash-verified

2867
2868/// Literal operator for creating const_buffer objects from string literals.
2869inline const_buffer operator ""_buf(const char* data, std::size_t n)
2870{
2871 return const_buffer(data, n);
2872}
2873
2874/// Literal operator for creating const_buffer objects from unbounded binary or
2875/// hexadecimal integer literals.

Callers

nothing calls this directly

Calls 1

const_bufferFunction · 0.70

Tested by

no test coverage detected