Pods/Headers/Private/Realm/realm/utilities.hpp
inline size_t to_size_t(int_fast64_t v) noexcept
{
    REALM_ASSERT_DEBUG(!util::int_cast_has_overflow<size_t>(v));
    return size_t(v);
}
// Safe cast from 64 to 32 bits on 32 bit architecture. Differs from to_ref() by not testing alignment and REF-bitflag.
Safe cast from 64 to 32 bits on 32 bit architecture. Differs from to_ref() by not testing alignment and REF-bitflag.
Safe cast from 64 to 32 bits on 32 bit architecture . Differs from to_ref () by not testing alignment and REF - bitflag .
inline size_t to_size_t(int_fast64_t v) noexcept
{
    REALM_ASSERT_DEBUG(!util::int_cast_has_overflow<size_t>(v));
    return size_t(v);
}
inline size_t to_size_t ( int_fast64_t v ) noexcept { REALM_ASSERT_DEBUG ( ! util :: int_cast_has_overflow < size_t > ( v ) ) ; return size_t ( v ) ; }
Safe cast from 64 to 32 bits on 32 bit architecture.
Safe cast from 64 to 32 bits on 32 bit architecture .