garlic::map_tag Class Reference

Constraint Tag that passes if the layer's members pass key and value constraints. More...

#include <constraints.h>

Detailed Description

Constraint Tag that passes if the layer's members pass key and value constraints.

make_constraint<map_tag>(Constraint&& key_constraint,
Constraint&& value_constraint,
bool ignore_details);
Note
In this tag, it is valid to pass empty (uninitialized) constraints, they will be ignored in that case.
Parameters
key_constraintmember keys must pass this constraint if constraint is not empty.
value_constraintmember values must pass this constraint if constraint is not empty.
ignore_detailsif true, failing constraints will not be added to the resulting ConstraintResult as details.

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