MCPcopy Create free account
hub / github.com/pybind/pybind11 / arithmetic

Class arithmetic

include/pybind11/attr.h:124–124  ·  view source on GitHub ↗

Annotation to mark enums as an arithmetic type

Source from the content-addressed store, hash-verified

122
123/// Annotation to mark enums as an arithmetic type
124struct arithmetic {};
125
126/// Mark a function for addition at the beginning of the existing overload chain instead of the end
127struct prepend {};

Callers 1

TEST_SUBMODULEFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_SUBMODULEFunction · 0.68