Commit cf8f3924 authored by Roland Levillain's avatar Roland Levillain
Browse files

Aesthetic changes.

	* mln/value/int_u.hh: Here.
	* mln/value/internal/gray_f.hh: Typo in comment.
parent 129176c3
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.
......@@ -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
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment