* 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:
Alexandre Duret-Lutz 2004-10-20 16:04:06 +00:00
parent 4defec66b4
commit 55b84b1a48
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2004-10-20 Alexandre Duret-Lutz <adl@src.lip6.fr> 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/bareword.hh, src/misc/bareword.cc: New files.
* src/misc/Makefile.am (libmisc_la_SOURCES, misc_HEADERS): Add them. * src/misc/Makefile.am (libmisc_la_SOURCES, misc_HEADERS): Add them.

View file

@ -110,14 +110,14 @@ namespace spot
/// At this point it is still OK to call next(), and then done() will /// At this point it is still OK to call next(), and then done() will
/// become true. /// become true.
bool bool
last() last() const
{ {
return f_[0] == n_; return f_[0] == n_;
} }
/// Whether all tuple have been explored. /// Whether all tuple have been explored.
bool bool
done() done() const
{ {
return done_; return done_;
} }