Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ntsa_ipaddress.h: correct docs of v4()/v6() methods #212

Merged
merged 1 commit into from
Sep 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions groups/nts/ntsa/ntsa_ipaddress.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,22 +139,22 @@ class IpAddress
ntsa::Ipv6Address& makeV6(const ntsa::Ipv6Address& value);

/// Return a reference to the modifiable "v4" address representation.
/// The behavior is undefined unless 'is_ipv4()' is true.
/// The behavior is undefined unless 'isV4()' is true.
ntsa::Ipv4Address& v4();

/// Return a reference to the modifiable "v6" address representation.
/// The behavior is undefined unless 'is_v6()' is true.
/// The behavior is undefined unless 'isV6()' is true.
ntsa::Ipv6Address& v6();

/// Return the textual representation of this object.
bsl::string text() const;

/// Return a reference to the non-modifiable "v4" address
/// representation. The behavior is undefined unless 'is_v4()' is true.
/// representation. The behavior is undefined unless 'isV4()' is true.
const ntsa::Ipv4Address& v4() const;

/// Return a reference to the non-modifiable "v6" address
/// representation. The behavior is undefined unless 'is_v6()' is true.
/// representation. The behavior is undefined unless 'isV6()' is true.
const ntsa::Ipv6Address& v6() const;

/// Return the type of the IP address representation.
Expand Down
Loading