We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f36fd05 commit 0e4d300Copy full SHA for 0e4d300
include/nlohmann/detail/input/input_adapters.hpp
@@ -443,6 +443,10 @@ using std::end;
443
template<typename ContainerType, typename Enable = void>
444
struct container_input_adapter_factory {};
445
446
+using bob = decltype(begin(std::declval<std::string>()), end(std::declval<std::string>()));
447
+using george = void_t<bob>;
448
+using alice = decltype(input_adapter(begin(std::declval<std::string>()), end(std::declval<std::string>())));
449
+
450
template<typename ContainerType>
451
struct container_input_adapter_factory< ContainerType,
452
void_t<decltype(begin(std::declval<ContainerType>()), end(std::declval<ContainerType>()))>>
0 commit comments