Skip to content

[C++] Are ARROW_DCHECK* and DCHECK* interchangeable? #43209

@zanmato1984

Description

@zanmato1984

Describe the usage question you have. Please include as many useful details as possible.

Been developing arrow C++ for a while and I've always been wondering if the ARROW_DCHECK* family and the DCHECK* family are interchangeable. It seems like to be the case from the following straight forward definition:

#define DCHECK ARROW_DCHECK
#define DCHECK_OK ARROW_DCHECK_OK
#define DCHECK_EQ ARROW_DCHECK_EQ
#define DCHECK_NE ARROW_DCHECK_NE
#define DCHECK_LE ARROW_DCHECK_LE
#define DCHECK_LT ARROW_DCHECK_LT
#define DCHECK_GE ARROW_DCHECK_GE
#define DCHECK_GT ARROW_DCHECK_GT

Or is there any subtle convention around them?

Component(s)

C++

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions