| 74 | |
| 75 | template<typename T> |
| 76 | static bool has_any_options( json_value* options, const T& list ) { |
| 77 | if( !options ) |
| 78 | return false; |
| 79 | |
| 80 | for( auto& option : list ) { |
| 81 | if( has_option( options, option ) ) |
| 82 | return true; |
| 83 | } |
| 84 | |
| 85 | return false; |
| 86 | } |
| 87 | |
| 88 | static std::unordered_set< std::string > split( const std::string& s, char delimiter ) { |
| 89 | std::unordered_set< std::string > parts; |
no test coverage detected