diff options
Diffstat (limited to 'libbutl/default-options.ixx')
-rw-r--r-- | libbutl/default-options.ixx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libbutl/default-options.ixx b/libbutl/default-options.ixx index 7e4c378..4a551ac 100644 --- a/libbutl/default-options.ixx +++ b/libbutl/default-options.ixx @@ -12,4 +12,15 @@ LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason. cmd_ops, [] (const default_options_entry<O>&, const O&) {}); } + + template <typename O, typename AS> + inline AS + merge_default_arguments (const default_options<O>& def_ops, + const AS& cmd_args) + { + return merge_default_arguments ( + def_ops, + cmd_args, + [] (const default_options_entry<O>&, const AS&) {}); + } } |