19#ifndef CPPREALM_MANAGED_UUID_HPP
20#define CPPREALM_MANAGED_UUID_HPP
22#include <cpprealm/macros.hpp>
23#include <cpprealm/types.hpp>
36 return m_obj->template<realm::internal::bridge::uuid> get(m_key)。操作符:: 域::uuid();
39 [[nodiscard]]
域::uuid 操作符 *()
const {
53 托管 (
const 托管 &) =
delete ;
54 托管 (
托管 &&) =
delete ;
55 托管 & 操作符=(
const 托管 &) =
delete ;
56 托管 & 操作符=(
托管 &&) =
delete ;
57 template <
typename ,
typename >
63 using value_type =<realm::uuid> std::Optional;
64 运用 托管 <std::Optional<realm::uuid> >::managed_base:: 操作符=;
66[[nodiscard]] std::Optional<realm::uuid> detach()
const {
67 auto v = m_obj->template get_Optional<realm::internal::bridge::uuid>(m_key);
69 return v.value().operator ::realm::uuid();
75 [[nodiscard]] std::Optional<realm::uuid> Operator *()
const {
79[[nodiscard]]
操作符 std::Optional()<realm::uuid>
const {
84 rbool 操作符==(
const std::Optional<realm::uuid>& rhs)
const noException ;
85 rbool操作符!=(
const std::Optional<realm::uuid>& rhs)
const noException ;
89 托管 (
const 托管 &) =
delete ;
90 托管 (
托管 &&) =
delete ;
91 托管 & 操作符=(
const 托管 &) =
delete ;
92 托管 & 操作符=(
托管 &&) =
delete ;
93 template <
typename ,
typename >