* src/misc/modgray.hh (loopless_modular_mixed_radix_gray_code::done,
loopless_modular_mixed_radix_gray_code::last): Declare as const.
This commit is contained in:
parent
4defec66b4
commit
55b84b1a48
2 changed files with 5 additions and 2 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2004-10-20 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||
|
||||
* src/misc/modgray.hh (loopless_modular_mixed_radix_gray_code::done,
|
||||
loopless_modular_mixed_radix_gray_code::last): Declare as const.
|
||||
|
||||
* src/misc/bareword.hh, src/misc/bareword.cc: New files.
|
||||
* src/misc/Makefile.am (libmisc_la_SOURCES, misc_HEADERS): Add them.
|
||||
|
||||
|
|
|
|||
|
|
@ -110,14 +110,14 @@ namespace spot
|
|||
/// At this point it is still OK to call next(), and then done() will
|
||||
/// become true.
|
||||
bool
|
||||
last()
|
||||
last() const
|
||||
{
|
||||
return f_[0] == n_;
|
||||
}
|
||||
|
||||
/// Whether all tuple have been explored.
|
||||
bool
|
||||
done()
|
||||
done() const
|
||||
{
|
||||
return done_;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue