Maipa's Standard Library Extension 1.5.6
mstd
Loading...
Searching...
No Matches
mstd::utils::function_storage Struct Reference

#include <function_view.hpp>

Collaboration diagram for mstd::utils::function_storage:
[legend]

Public Attributes

union { 
   void *   functor_ptr = nullptr 
   void(*   func_ptr )() 
   std::byte   mem_func_buffer [sizeof(void *) *3] 
}; 

Member Data Documentation

◆ [union]

◆ func_ptr

void(* mstd::utils::function_storage::func_ptr) ()

◆ functor_ptr

void* mstd::utils::function_storage::functor_ptr = nullptr

◆ mem_func_buffer

std::byte mstd::utils::function_storage::mem_func_buffer[sizeof(void *) *3]