27 #ifndef MLN_CONVERT_IMPL_FROM_UNSIGNED_TO_VALUE_HH
28 # define MLN_CONVERT_IMPL_FROM_UNSIGNED_TO_VALUE_HH
37 # include <mln/value/concept/integer.hh>
38 # include <mln/core/concept/value.hh>
39 # include <mln/value/label.hh>
40 # include <mln/math/round.hh>
54 from_to(
const unsigned& from, Value<V>&
to);
59 from_to_(
const unsigned& from,
bool&
to);
61 # ifndef MLN_INCLUDE_ONLY
71 from_unsigned_to_value(
const unsigned& from,
80 from_unsigned_to_value(
const unsigned& from,
91 from_unsigned_to_value(
const unsigned&,
94 mlc_abort(V)::check();
103 template <
typename V>
106 from_unsigned_to_value_dispatch(
const unsigned& from, Value<V>&
to)
108 impl::from_unsigned_to_value(from, exact(to));
119 template <
typename V>
121 from_to_(
const unsigned& from, Value<V>&
to)
123 internal::from_unsigned_to_value_dispatch(from, to);
131 from_to_(
const unsigned& from,
bool&
to)
140 # endif // ! MLN_INCLUDE_ONLY
147 #endif // ! MLN_CONVERT_IMPL_FROM_UNSIGNED_TO_VALUE_HH