mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-05-10 09:23:30 +00:00
fix algorithms SFINAE: iterator or container
This commit is contained in:
parent
040278bd11
commit
6b1ef202d8
1 changed files with 2 additions and 1 deletions
|
@ -80,7 +80,8 @@ namespace sprout {
|
||||||
struct is_iterator_outputable
|
struct is_iterator_outputable
|
||||||
: public std::integral_constant<
|
: public std::integral_constant<
|
||||||
bool,
|
bool,
|
||||||
sprout::is_output_iterator<MaybeIterator>::value || sprout::is_forward_iterator<MaybeIterator>::value
|
sprout::is_output_iterator<typename std::decay<MaybeIterator>::type>::value
|
||||||
|
|| sprout::is_forward_iterator<typename std::decay<MaybeIterator>::type>::value
|
||||||
>
|
>
|
||||||
{};
|
{};
|
||||||
} // namespace sprout
|
} // namespace sprout
|
||||||
|
|
Loading…
Add table
Reference in a new issue