Skip to content

Commit c129793

Browse files
committed
bitmap.h: clarify that the empty bitmap doesn't intersect anything else
Signed-off-by: Brice Goglin <[email protected]>
1 parent 3cfd652 commit c129793

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/hwloc/bitmap.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,8 @@ HWLOC_DECLSPEC int hwloc_bitmap_not (hwloc_bitmap_t res, hwloc_const_bitmap_t bi
445445
/** \brief Test whether bitmaps \p bitmap1 and \p bitmap2 intersects.
446446
*
447447
* \return 1 if bitmaps intersect, 0 otherwise.
448+
*
449+
* \note The empty bitmap does not intersect any other bitmap.
448450
*/
449451
HWLOC_DECLSPEC int hwloc_bitmap_intersects (hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2) __hwloc_attribute_pure;
450452

0 commit comments

Comments
 (0)