Ruby: ruby::backward::cxxanyargs::define_method::driver< T, F > Struct Template Reference

Ruby 3.4.7p58 (2025-10-08 revision 7a5688e2a27668e48f8d6ff4af5b2208b98a2f5e)

Data Structures
ruby::backward::cxxanyargs::define_method::driver< T, F > Struct Template Reference

Template metaprogramming to generate function prototypes. More...

`#include <cxxanyargs.hpp>`

## Data Structures
struct | engine
| Defines a method. More...

## Detailed Description

template<typename T, void(*)(VALUE klass, T mid, type *func, int arity) F>
struct ruby::backward::cxxanyargs::define_method::driver< T, F >

Template metaprogramming to generate function prototypes.

Template Parameters

  T | Type of method id (ID or const char* in practice).
  F | Definition driver e.g. rb_define_method.

Definition at line 523 of file cxxanyargs.hpp.

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

- include/ruby/backward/cxxanyargs.hpp