19#ifndef CPPREALM_MANAGED_DECIMAL_HPP
20#define CPPREALM_MANAGED_DECIMAL_HPP
22#include <cpprealm/macros.hpp>
23#include <cpprealm/types.hpp>
25#include <cpprealm/internal/bridge/decimal 128 .hpp>
36 return m_obj->template get<realm::internal::bridge::decimal 128 >(m_key).operator ::realm::decimal 128 ();
47 rbool Operator==(
const Decimal
128 & rhs)
const noException ;
48 rbool操作符!=(
const Decimal
128 & rhs)
const noException ;
49 rbool 操作符>(
const Decimal
128 & rhs)
const noException ;
50 rbool 操作符<(
const Decimal
128 & rhs)
const noException ;
51 rbool 操作符>=(
const Decimal
128 & rhs)
const noException ;
52 rbool 操作符<=(
const Decimal
128 & rhs)
const noException ;
65 托管 (
const 托管 &) =
delete ;
66 托管 (
托管 &&) =
delete ;
67 托管 & 操作符=(
const 托管 &) =
delete ;
68 托管 & 操作符=(
托管 &&) =
delete ;
69 template <
typename ,
typename >
75 运用 托管 <std::Optional< 域::Decimal 128 >>::managed_base:: 操作符=;
77 [[nodiscard]] std::Optional<realm::decimal 128 > detach()
const {
78 auto v = m_obj->template get_Optional<realm::internal::bridge::decimal 128 >(m_key);
80 return v.value()。操作符 :: 域::decimal 128 ();
86 [[nodiscard]] std::Optional< 域::decimal 128 > 操作符 *()
const {
90 [[nodiscard]]
操作符std::Optional< 域::decimal 128 >()
const {
94 rbool 操作符==(
const std::Optional< 域::decimal 128 >& rhs)
const noException ;
95 rbool操作符!=(
const std::Optional< 域::decimal 128 >& rhs)
const noException ;
96 rbool 操作符>(
const std::Optional< 域::decimal 128 >& rhs)
const noException ;
97 rbool 操作符<(
const std::Optional< 域::decimal 128 >& rhs)
const noException ;
98 rbool 操作符>=(
const std::Optional< 域:decimal 128 >& rhs)
const noException ;
99 rbool 操作符<=(
const std::Optional< 域::decimal 128 >& rhs)
const noException ;
112 托管 (
const 托管 &) =
delete ;
113 托管 (
托管 &&) =
delete ;
114 托管 & 操作符=(
const 托管 &) =
delete ;
115 托管 & 操作符=(
托管 &&) =
delete ;
116 template <
typename ,
typename >
定义: managed_decimal.hpp: 33