Opened 7 years ago

Last modified 7 years ago

#11746 new Feature Requests

boost::asio::buffer() overload for string_ref and const char pointer (c-string)

Reported by: oliora@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.57.0 Severity: Optimization
Keywords: buffer Cc:

Description

There are many overloads of boost::asio::buffer() including ones for std::string and POD array, but there are no overloads for const char * and for boost::basic_string_ref<char, ...>. I propose to add such overloads.

Change History (1)

comment:1 by oliora@…, 7 years ago

Please close the issue as duplicated. I created three similar issues by mistake.

Note: See TracTickets for help on using tickets.