MCPcopy Create free account
hub / github.com/Naios/function2 / opcode

Enum opcode

include/function2/function2.hpp:832–839  ·  view source on GitHub ↗

Identifies the action which is dispatched on the erased object

Source from the content-addressed store, hash-verified

830namespace tables {
831/// Identifies the action which is dispatched on the erased object
832enum class opcode {
833 op_move, ///< Move the object and set the vtable
834 op_copy, ///< Copy the object and set the vtable
835 op_destroy, ///< Destroy the object and reset the vtable
836 op_weak_destroy, ///< Destroy the object without resetting the vtable
837 op_fetch_empty, ///< Stores true or false into the to storage
838 ///< to indicate emptiness
839};
840
841/// Abstraction for a vtable together with a command table
842/// TODO Add optimization for a single formal argument

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected