From 61377c582e0f2675baa5f5e6e30a35d1a4164b33 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 1 May 2017 16:08:43 +0300 Subject: Add hxx extension for headers and lib prefix for library dir --- libbutl/curl.ixx | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 libbutl/curl.ixx (limited to 'libbutl/curl.ixx') diff --git a/libbutl/curl.ixx b/libbutl/curl.ixx new file mode 100644 index 0000000..fcc1bab --- /dev/null +++ b/libbutl/curl.ixx @@ -0,0 +1,29 @@ +// file : libbutl/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