| 1594 | } |
| 1595 | |
| 1596 | bool Value::Comments::hasAny() const { |
| 1597 | if (ptr_) { |
| 1598 | for (std::size_t slot = 0; slot < CommentPlacement::numberOfCommentPlacement; slot++) { |
| 1599 | if (!(*ptr_)[slot].empty()) |
| 1600 | return true; |
| 1601 | } |
| 1602 | } |
| 1603 | return false; |
| 1604 | } |
| 1605 | |
| 1606 | StringContainer Value::Comments::get(CommentPlacement slot) const { |
| 1607 | if (!ptr_) |