Project Alice
Loading...
Searching...
No Matches
Cyto::AnyActions Struct Reference

#include <cyto_any.hpp>

Collaboration diagram for Cyto::AnyActions:

Public Types

using Get = void *(*)(Storage *s, void const *type)
 
using Copy = void(*)(Storage *dst, Storage const *src)
 
using Move = void(*)(Storage *dst, Storage *src)
 
using Drop = void(*)(Storage *s)
 

Public Member Functions

constexpr AnyActions () noexcept
 
constexpr AnyActions (Get g, Copy c, Move m, Drop d, void const *t) noexcept
 

Public Attributes

Get get = void_get
 
Copy copy = void_copy
 
Move move = void_move
 
Drop drop = void_drop
 
void const * type = fallback_typeid<void>()
 

Detailed Description

Definition at line 154 of file cyto_any.hpp.

Member Typedef Documentation

◆ Copy

using Cyto::AnyActions::Copy = void (*)(Storage* dst, Storage const* src)

Definition at line 156 of file cyto_any.hpp.

◆ Drop

using Cyto::AnyActions::Drop = void (*)(Storage* s)

Definition at line 158 of file cyto_any.hpp.

◆ Get

using Cyto::AnyActions::Get = void* (*)(Storage* s, void const* type)

Definition at line 155 of file cyto_any.hpp.

◆ Move

using Cyto::AnyActions::Move = void (*)(Storage* dst, Storage* src)

Definition at line 157 of file cyto_any.hpp.

Constructor & Destructor Documentation

◆ AnyActions() [1/2]

constexpr Cyto::AnyActions::AnyActions ( )
inlineconstexprnoexcept

Definition at line 160 of file cyto_any.hpp.

◆ AnyActions() [2/2]

constexpr Cyto::AnyActions::AnyActions ( Get  g,
Copy  c,
Move  m,
Drop  d,
void const *  t 
)
inlineconstexprnoexcept

Definition at line 162 of file cyto_any.hpp.

Member Data Documentation

◆ copy

Copy Cyto::AnyActions::copy = void_copy

Definition at line 165 of file cyto_any.hpp.

◆ drop

Drop Cyto::AnyActions::drop = void_drop

Definition at line 167 of file cyto_any.hpp.

◆ get

Get Cyto::AnyActions::get = void_get

Definition at line 164 of file cyto_any.hpp.

◆ move

Move Cyto::AnyActions::move = void_move

Definition at line 166 of file cyto_any.hpp.

◆ type

void const* Cyto::AnyActions::type = fallback_typeid<void>()

Definition at line 171 of file cyto_any.hpp.


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