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 |
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>.
Index of help topics:
RcppMagicEnum-package 'Rcpp' Bindings to 'Magic Enum' 'C++' 'Enum' Support magic_enum_example Examples of 'magic_enum' use via 'RcppMagicEnum'
Dirk Eddelbuettel <[email protected]>
Dirk Eddelbuettel [aut, cre] (<https://orcid.org/0000-0001-6419-907X>), Daniil Goncharov [aut] (Autor of 'magic_enum')
This example, directly almost verbatim from the upstream README.md
shows several simple usage patterns for enumerations enabled by the package.
magic_enum_example()
magic_enum_example()
The function returns nothing and is invoked for its side-effect of displaying output to the console.
magic_enum_example()
magic_enum_example()