aboutsummaryrefslogtreecommitdiff
path: root/libbutl/openssl.ixx
blob: c685b65525b2d19a193d47fbfa10bb87f870a3af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// file      : libbutl/openssl.ixx -*- C++ -*-
// license   : MIT; see accompanying LICENSE file

LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason.
{
  template <typename I,
            typename O,
            typename E,
            typename... A>
  inline openssl::
  openssl (I&& in,
           O&& out,
           E&& err,
           const process_env& env,
           const std::string& command,
           A&&... options)
      : openssl ([] (const char* [], std::size_t) {},
                 std::forward<I> (in),
                 std::forward<O> (out),
                 std::forward<E> (err),
                 env,
                 command,
                 std::forward<A> (options)...)
  {
  }
}