Package 'RcppMagicEnum'

Title: 'Rcpp' Bindings to 'Magic Enum' 'C++' 'Enum' Support
Description: The header-only modern 'C++' template library 'Magic Enum' for static reflection of 'enums' (to string, from string, iteration) is provided by this package. More information about the underlying library can be found at its repository at <https://github.com/Neargye/magic_enum>.
Authors: Dirk Eddelbuettel [aut, cre] , Daniil Goncharov [aut] (Autor of 'magic_enum')
Maintainer: Dirk Eddelbuettel <[email protected]>
License: MIT + file LICENSE
Version: 0.0.1
Built: 2024-11-23 05:03:04 UTC
Source: https://github.com/eddelbuettel/rcppmagicenum

Help Index


'Rcpp' Bindings to 'Magic Enum' 'C++' 'Enum' Support

Description

The header-only modern 'C++' template library 'Magic Enum' for static reflection of 'enums' (to string, from string, iteration) is provided by this package. More information about the underlying library can be found at its repository at <https://github.com/Neargye/magic_enum>.

Package Content

Index of help topics:

RcppMagicEnum-package   'Rcpp' Bindings to 'Magic Enum' 'C++' 'Enum'
                        Support
magic_enum_example      Examples of 'magic_enum' use via
                        'RcppMagicEnum'

Maintainer

Dirk Eddelbuettel <[email protected]>

Author(s)

Dirk Eddelbuettel [aut, cre] (<https://orcid.org/0000-0001-6419-907X>), Daniil Goncharov [aut] (Autor of 'magic_enum')


Examples of ‘magic_enum’ use via RcppMagicEnum

Description

This example, directly almost verbatim from the upstream README.md shows several simple usage patterns for enumerations enabled by the package.

Usage

magic_enum_example()

Value

The function returns nothing and is invoked for its side-effect of displaying output to the console.

Examples

magic_enum_example()