Priority.opUnary

Helper opUnary to allow for -10.priority, instead of having to do the (more correct) (-10).priority.

struct Priority
const
opUnary
(
string op : "-"
)
()

Parameters

op

Operator.

Return Value

Type: auto

A new Priority with a value equal to the negative of this one's.

Examples

mixin PostprocessorRegistration!(-10.priority);