Same as the preceding validate overload for the specified category.
Declared in <baljsn_encodeimplutil.h>
template<
class TYPE,
class CATEGORY>
static
int
validate(
std::ostream* logStream,
TYPE const& value,
CATEGORY category);
0 if valid, and a non-zero value otherwise
| Name | Description |
|---|---|
| logStream | stream for human-readable error descriptions |
| value | value to validate for encoding |
| category | bdlat type-category tag |