Skip to content

Commit 4ddfc58

Browse files
JeffAbrahamsonajdavis
authored andcommitted
CXX-1666 Improve comment on element::bool()
1 parent 95ad6bd commit 4ddfc58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bsoncxx/document/element.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ class BSONCXX_API element {
7979
element();
8080

8181
///
82-
/// Conversion operator to bool which is true for valid elements.
82+
/// Conversion operator to bool which is true for valid elements
83+
/// and false for invalid elements.
8384
///
8485
explicit operator bool() const;
8586

0 commit comments

Comments
 (0)