John Beard wants to merge 1 commit from /u/jjbeard/tclap/ to 1.4, 2023-05-25
Allow const Contraints in constructors
Contraints are only used in const-safe ways, so allow a caller
to pass a const Constraint.
This means firstly it's clearer that a constraint won't be modified
by use by an Arg object, so you can safely share a constraint between
different args.
It also allows static construction of constant constraints.
Commit | Date | |
---|---|---|
[4dd8ae]
(const_constraint)
by
![]() Allow const Constraints in constructors Constraints are only used in const-safe ways, so allow a caller This means firstly it's clearer that a constraint won't be modified It also allows static construction of constant constraints. |
2023-05-25 10:58:47 | Tree |
Thanks