modifier
Overview
Modifiers in opC++ bring the well known concept of attributes to C++. Unlike other languages, the implications of using modifiers are completely compile-time related.
Data Modifiers
Data modifiers allow you to tag data members within categories.
example using simple and valued modifiers:
simplemodifier int foo;
valuedmodifier(value) int bar;
Function Modifiers
Function modifiers allow you to tag member functions within categories.
example using simple and valued modifiers:
simplemodifier void foo();
valuedmodifier(value) void bar();
Category Modifiers
Category modifiers allow you to tag whole category definitions.
categorymodifier opclass foo
{
};
Modifier Meaning
Use of modifiers causes code to be generated via dialects and notes.