☰
Debian Codegraph
@
13.04.01-1
/
/
yo
/
coroutines
/
demo
/
recursive2
/
fibo
/
state.cc
☽
☼
yo/coroutines/demo/recursive2/fibo/state.cc
code
plain
raw
GPL-2+
1994-2025 by Frank B. Brokken, University of Groningen.
debian/copyright
1
#include "fibo.ih"
2
3
std::suspend_always Fibo::State::yield_value(Triplet const &value)
4
{
5
d_value = value;
6
return {};
7
}
8
9
size_t Fibo::State::value() const
10
{
11
return get<0>(d_value);
12
}