arg_router  1.4.0
C++ command line argument parsing and routing
flatten_help.hpp
1 // Copyright (C) 2022 by Camden Mannett.
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
4 
5 #pragma once
6 
7 #include "arg_router/policy/policy.hpp"
8 
9 namespace arg_router::policy
10 {
16 template <typename = void> // This is needed due so it can be used in
17 struct flatten_help_t { // template template parameters
18 };
19 
21 constexpr auto flatten_help = flatten_help_t<>{};
22 
23 template <>
24 struct is_policy<flatten_help_t<>> : std::true_type {
25 };
26 } // namespace arg_router::policy
constexpr auto flatten_help