19#ifndef CPPREALM_MANAGED_UUID_HPP
20#define CPPREALM_MANAGED_UUID_HPP
22#include <cprealm/macros.hpp>
23#include <cprealm/types.hpp>
36 return m_obj->template get<realm::internal::bridge::uuid>(m_key).operator :: Realm::uuid();
57 modelo<
typename,
typename>
58 amigo estrutura, estrutura managed;
63 usando value_type = std::opcional<realm::uuid>;
64 Usando <std::opcional <<realm::uuid>Realm gerenciado ::uuid>>::managed_base::operator=;
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::opcional<realm::uuid> operador *()
const {
79 [[nodiscard]]
operator std::optional<realm::uuid>()
const {
84 rbool operator==(
const std::opcional<realm::uuid>& rhs)
const noexceto;
85 operador
rbool !=(
const std::optional<realm::uuid>& rhs)
const noexceto;
93 modelo<
typename,
typename>
94 amigo estrutura, estrutura managed;
Definição: macros.hpp:286