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/decimal128.hpp>
36 return m_obj->template get<realm::internal::bridge::decimal128>(m_key).operator ::realm::decimal128();
69 template<
typename,
typename>
75 using managed<std::optional<realm::decimal128>>::managed_base::operator=;
77 [[nodiscard]] std::optional<realm::decimal128> detach()
const {
78 auto v = m_obj->template get_optional<realm::internal::bridge::decimal128>(m_key);
80 return v.value().operator ::realm::decimal128();
86 [[nodiscard]] std::optional<realm::decimal128> operator *()
const {
90 [[nodiscard]]
operator std::optional<realm::decimal128>()
const {
94 rbool operator==(
const std::optional<realm::decimal128>& rhs)
const noexcept;
95 rbool operator!=(
const std::optional<realm::decimal128>& rhs)
const noexcept;
96 rbool operator>(
const std::optional<realm::decimal128>& rhs)
const noexcept;
97 rbool operator<(
const std::optional<realm::decimal128>& rhs)
const noexcept;
98 rbool operator>=(
const std::optional<realm::decimal128>& rhs)
const noexcept;
99 rbool operator<=(
const std::optional<realm::decimal128>& rhs)
const noexcept;
116 template<
typename,
typename>
Definition: managed_decimal.hpp:33
Definition: macros.hpp:286