
* mln/value/int_u.hh: Here. * mln/value/internal/gray_f.hh: Typo in comment. --- milena/ChangeLog | 7 +++++++ milena/mln/value/int_u.hh | 24 ++++++++++++------------ milena/mln/value/internal/gray_f.hh | 2 +- 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index a402ccd..cd0b401 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,5 +1,12 @@ 2013-06-20 Roland Levillain <roland@lrde.epita.fr> + Aesthetic changes. + + * mln/value/int_u.hh: Here. + * mln/value/internal/gray_f.hh: Typo in comment. + +2013-06-20 Roland Levillain <roland@lrde.epita.fr> + Resolve ambiguous calls to operator* in value::qt::rgb32. * mln/value/qt/rgb32.hh: Here. diff --git a/milena/mln/value/int_u.hh b/milena/mln/value/int_u.hh index 7744b96..27e3b1d 100644 --- a/milena/mln/value/int_u.hh +++ b/milena/mln/value/int_u.hh @@ -46,13 +46,17 @@ namespace mln { - // Forward declarations. - namespace value { - namespace qt { - struct rgb32; - } + /// Forward declarations. + /// \{ + namespace value + { template <unsigned n> struct int_u; template <unsigned n> struct rgb; + + namespace qt + { + struct rgb32; + } } namespace literal @@ -60,7 +64,8 @@ namespace mln struct zero_t; struct one_t; } - // End of forward declarations + /// \} + namespace trait { @@ -192,21 +197,17 @@ namespace mln template <unsigned n> void from_to_(const int_u<n>& from, unsigned& to_); - /// \internal Conversion: int_u -> bool. template <unsigned n> void from_to_(const int_u<n>& from, bool& to_); - /// \internal Conversion: int_u -> float. template <unsigned n> void from_to_(const int_u<n>& from, float& to_); - /// \internal Conversion: int_u -> double. template <unsigned n> - void - from_to_(const int_u<n>& from, double& to_); + void from_to_(const int_u<n>& from, double& to_); /// \internal Conversion: Conversion: int_u -> rgb. template <unsigned m> @@ -232,4 +233,3 @@ namespace mln #endif // ! MLN_VALUE_INT_U_HH - diff --git a/milena/mln/value/internal/gray_f.hh b/milena/mln/value/internal/gray_f.hh index a24c2b5..f9ae43a 100644 --- a/milena/mln/value/internal/gray_f.hh +++ b/milena/mln/value/internal/gray_f.hh @@ -29,7 +29,7 @@ /// \file /// -/// Declarations of the mln::value::internal::gray_f class. +/// Declaration of the mln::value::internal::gray_f class. # include <iostream> -- 1.7.10.4