mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-12-23 21:25:49 +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
|
||||
: public std::integral_constant<
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue