swift
Loading...
Searching...
No Matches
swift::misc::CValueCache::BatchGuard Class Reference

RAII object returned by CValueCache::batchChanges. More...

#include <valuecache.h>

Public Member Functions

 ~BatchGuard ()
 Destructor. Applies deferred changes.
 BatchGuard (const BatchGuard &)=delete
 Deleted copy constructor. Class is move-only.
BatchGuard & operator= (const BatchGuard &)=delete
 Deleted copy assignment operator. Class is move-only.
 BatchGuard (BatchGuard &&other) noexcept
 Move constructor.
BatchGuard & operator= (BatchGuard &&other) noexcept
 Move assignment operator.

Friends

class CValueCache

Detailed Description

RAII object returned by CValueCache::batchChanges.

Applies deferred changes when it is destroyed.

Definition at line 514 of file valuecache.h.

Constructor & Destructor Documentation

◆ BatchGuard()

swift::misc::CValueCache::BatchGuard::BatchGuard ( BatchGuard && other)
inlinenoexcept

Move constructor.

Definition at line 527 of file valuecache.h.

Member Function Documentation

◆ operator=()

BatchGuard & swift::misc::CValueCache::BatchGuard::operator= ( BatchGuard && other)
inlinenoexcept

Move assignment operator.

Definition at line 530 of file valuecache.h.

◆ CValueCache

friend class CValueCache
friend

Definition at line 537 of file valuecache.h.


The documentation for this class was generated from the following file: