mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-16 15:14:13 +00:00
fix addressof implementation
This commit is contained in:
parent
586c9972dc
commit
5b190c8b6e
9 changed files with 34 additions and 28 deletions
|
@ -67,7 +67,7 @@ namespace sprout {
|
|||
sprout::detail::div_t_traits<T>::offsetof_rem == 0,
|
||||
typename sprout::detail::div_t_traits<T>::type
|
||||
>::type
|
||||
div_impl(T const &numer, T const& denom) {
|
||||
div_impl(T const& numer, T const& denom) {
|
||||
#if defined(_MSC_VER)
|
||||
typename sprout::detail::div_t_traits<T>::type result = {numer % denom, numer / denom};
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue