This visitor, when invoked as a non-modifiable function object on an instance of some template parameter TYPE, tests the equality of the value of that instance and of another instance held in a buffer specified at construction of this visitor, and stores the result into its publicly accessible d_result member.
Declared in <bdlb_variant.h>
struct Variant_EqualityTestVisitor;
| Name | Description |
|---|---|
Variant_EqualityTestVisitor [constructor] | Create an equality-test visitor comparing against the value in the specified buffer. |
operator() | Function call operators |
| Name | Description |
|---|---|
d_buffer_p | Peer buffer holding the value to compare against (held, not owned). |
d_result | Stores the result of the equality comparison. |