| 280 | { |
| 281 | template<typename T, typename...P> |
| 282 | void PopulateCefObject_(CefDictionaryValue& dict, CefProp<T>&& first, CefProp<P>&&...rest) |
| 283 | { |
| 284 | dict.SetValue(first.key, MakeCefValue(std::forward<T>(first.value))); |
| 285 | if constexpr (sizeof...(rest) > 0) |
| 286 | { |
| 287 | PopulateCefObject_(dict, std::forward<CefProp<P>>(rest)...); |
| 288 | } |
| 289 | } |
| 290 | } |
| 291 | |
| 292 | template<typename...P> |
no test coverage detected