aboutsummaryrefslogtreecommitdiff
path: root/libbutl/default-options.ixx
blob: e1a3dcf86759b0c2d912955513398303b14c1672 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// file      : libbutl/default-options.ixx -*- C++ -*-
// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason.
{
  template <typename O>
  inline O
  merge_default_options (const default_options<O>& def_ops, const O& cmd_ops)
  {
    return merge_default_options (
      def_ops,
      cmd_ops,
      [] (const default_options_entry<O>&, const O&) {});
  }
}