1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix addressof implementation

This commit is contained in:
bolero-MURAKAMI 2015-03-04 23:01:10 +09:00
parent 586c9972dc
commit 5b190c8b6e
9 changed files with 34 additions and 28 deletions

View file

@ -55,7 +55,7 @@ namespace sprout {
) const
{
return sprout::distance(ctx.begin(), ctx.end()) >= sprout::size(arg)
&&sprout::equal(sprout::begin(arg), sprout::end(arg), ctx.begin())
&& sprout::equal(sprout::begin(arg), sprout::end(arg), ctx.begin())
? result_type(
true,
sprout::next(ctx.begin(), sprout::size(arg)),