garlic::range_tag Struct Reference

Constraint Tag that passes if the layer is within a certain boundary. More...

#include <constraints.h>

Detailed Description

Constraint Tag that passes if the layer is within a certain boundary.

If layer is a string, its length will be checked.

If layer is a number, its value will be checked.

If layer is a list, its element count will be checked.

It passes the test for all other types including null.

make_constraint<range_tag>(size_t min, size_t max);

The documentation for this struct was generated from the following file: