From ed93e07b1b7a9e0ba99609a9223e43247ff4224e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 18 Apr 2017 10:40:18 +0200 Subject: Implement curl process --- butl/curl.ixx | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 butl/curl.ixx (limited to 'butl/curl.ixx') diff --git a/butl/curl.ixx b/butl/curl.ixx new file mode 100644 index 0000000..83b388b --- /dev/null +++ b/butl/curl.ixx @@ -0,0 +1,29 @@ +// file : butl/curl.ixx -*- C++ -*- +// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#include // move(), forward() + +namespace butl +{ + template + inline curl:: + curl (I&& in, + O&& out, + E&& err, + method_type m, + const std::string& url, + A&&... options) + : curl ([] (const char* [], std::size_t) {}, + std::forward (in), + std::forward (out), + std::forward (err), + m, + url, + std::forward (options)...) + { + } +} -- cgit v1.1