19#ifndef CPPRALM_MANAGED_TIMESTAMP_HPP
20#define CPPRALM_MANAGED_TIMESTAMP_HPP
22#include <cpprealm/internal/bridge/timestamp.hpp>
23#include <cpprealm/macros.hpp>
32 using value_type = std::chrono::time_point<std::chrono::system_clock>;
33 사용 managed<std::chrono::time_point<std::chrono::system_clock>>::managed_base:: 연산자=;
35 [[nodiscard]] std::chrono::time_point<std::chrono::system_clock> fetch()
const {
36 return m_obj-> template<realm::internal::bridge::timestamp> get(m_key);
39 [[nodiscard]]
연산자 std::chrono::time_point<std::chrono::system_clock>()
const {
43 auto time_since_epoch()
const {
44 auto Typescript = m_obj-> Template get<internal::bridge::timestamp>(m_key);
45 return ts.get_time_point().time_since_epoch();
49 oid operator+=(
const std::chrono::duration<S>& rhs) {
50 auto Typescript = m_obj-> Template get<internal::bridge::timestamp>(m_key);
55 rbool 연산자==(
const std::chrono::time_point<std::chrono::system_clock>& rhs)
const noException;
56 rbool 연산자!=(
const std::chrono::time_point<std::chrono::system_clock>& rhs)
const noException;
57 rbool operator>(
const std::chrono::time_point<std::chrono::system_clock>& rhs)
const noException;
58 rbool operator>=(
const std::chrono::time_point<std::chrono::system_clock>& rhs)
const noException;
59 rbool operator<(
const std::chrono::time_point<std::chrono::system_clock>& rhs)
const noException;
60 rbool 연산자<=(
const std::chrono::time_point<std::chrono::system_clock>& rhs)
const noException;
68 템플릿<
typename,
typename>
74 using value_type = std::optional<std::chrono::time_point<std::chrono::system_clock>>;
75 사용 관리형<std::optional<std::chrono::time_point<std::chrono::system_clock>>>::managed_base::operator=;
77 [[nodiscard]] std::optional<std::chrono::time_point<std::chrono::system_clock>> Attach()
const {
81 [[nodiscard]]
연산자 std::optional<std::chrono::time_point<std::chrono::system_clock>>()
const {
87 oid operator+=(
const std::chrono::duration<S>& rhs) {
91 auto time_since_epoch()
const {
93 return ts->get_time_point().time_since_epoch();
97 std::reference_wrapper< managed<std::optional<std::chrono::time_point<std::chrono::system_clock>>>> m_parent;
98 친구 구조체 관리형<std::optional<std::chrono::time_point<std::chrono::system_clock>>>;
101 std::unique_ptr<box> 연산자->()
103 return std::make_unique<box>(
box(*
this));
105 [[nodiscard]]
상자 연산자*() {
110 rbool 연산자==(
const std::optional<std::chrono::time_point<std::chrono::system_clock>>& rhs)
const noException;
111 rbool 연산자!=(
const std::optional<std::chrono::time_point<std::chrono::system_clock>>& rhs)
const noException;
119 템플릿<
typename,
typename>
정의: managed_dictionary.hpp:129