diff options
Diffstat (limited to 'libbutl/default-options.ixx')
-rw-r--r-- | libbutl/default-options.ixx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libbutl/default-options.ixx b/libbutl/default-options.ixx new file mode 100644 index 0000000..e1a3dcf --- /dev/null +++ b/libbutl/default-options.ixx @@ -0,0 +1,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&) {}); + } +} |