Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 8 years ago

Language

Compiler

Options

Author

anonymous

about 8 years ago

recursive_range.hpp

$
prog.cc:32:34: warning: 'operator()' is deprecated: view::closed_ints is deprecated; use view::closed_indices instead! [-Wdeprecated-declarations]
        return concat(closed_ints(0,1), zip_with(std::plus<int>{}, fibs(), tail(fibs())));
                                 ^
/opt/wandbox/range-v3/include/range/v3/view/iota.hpp:578:66: note: 'operator()' has been explicitly marked deprecated here
                detail::take_exactly_view_<iota_view<Val>, true> operator()(Val from, Val to) const
                                                                 ^
prog.cc:32:34: warning: 'operator()<int, 42, 0>' is deprecated: view::closed_ints is deprecated; use view::closed_indices instead! [-Wdeprecated-declarations]
        return concat(closed_ints(0,1), zip_with(std::plus<int>{}, fibs(), tail(fibs())));
                                 ^
/opt/wandbox/range-v3/include/range/v3/view/iota.hpp:578:66: note: 'operator()<int, 42, 0>' has been explicitly marked deprecated here
                detail::take_exactly_view_<iota_view<Val>, true> operator()(Val from, Val to) const
                                                                 ^
2 warnings generated.
0
1
1
2
3
5
8
13
21
34
55
89
144
233
377
610
987
1597
2584
4181
Exit Code:
0