-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[C++] Are ARROW_DCHECK* and DCHECK* interchangeable? #43209
Copy link
Copy link
Closed
Labels
Milestone
Description
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:
arrow/cpp/src/arrow/util/logging.h
Lines 141 to 148 in 5e451d8
| #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++
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.