lint and amalgamate
This commit is contained in:
parent
fb86e6da29
commit
584252083a
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user