lint and amalgamate

This commit is contained in:
Francois Chabot 2019-01-22 17:23:29 -05:00
parent fb86e6da29
commit 584252083a
3 changed files with 4 additions and 4 deletions

View File

@ -399,7 +399,7 @@ class input_adapter
/// input adapter for array /// input adapter for array
template<class T, std::size_t N> template<class T, std::size_t N>
input_adapter(T (&array)[N]) input_adapter(T (&array)[N])
: input_adapter(std::begin(array), (N > 0 && array[N - 1]) == 0 ? std::prev(std::end(array)) : std::end(array)) {} : input_adapter(std::begin(array), (N > 0 && array[N - 1] == 0) ? std::prev(std::end(array)) : std::end(array)) {}
/// input adapter for contiguous container /// input adapter for contiguous container
template<class ContiguousContainer, typename template<class ContiguousContainer, typename

View File

@ -2554,7 +2554,7 @@ class input_adapter
/// input adapter for array /// input adapter for array
template<class T, std::size_t N> template<class T, std::size_t N>
input_adapter(T (&array)[N]) input_adapter(T (&array)[N])
: input_adapter(std::begin(array), (N > 0 && array[N - 1]) == 0 ? std::prev(std::end(array)) : std::end(array)) {} : input_adapter(std::begin(array), (N > 0 && array[N - 1] == 0) ? std::prev(std::end(array)) : std::end(array)) {}
/// input adapter for contiguous container /// input adapter for contiguous container
template<class ContiguousContainer, typename template<class ContiguousContainer, typename