From 5bc5a7f0bbbbcafa358ba00f40593801392b3f7c Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Fri, 16 Jun 2017 21:58:58 -0400 Subject: [PATCH] Fill out link specification --- d0355r3.html | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/d0355r3.html b/d0355r3.html index 886295a..75ae8ab 100644 --- a/d0355r3.html +++ b/d0355r3.html @@ -10151,6 +10151,10 @@ Add a new section 23.17.12.11 link [time.timezone.link]:
 class link
 {
+private:
+    std::string name_;    // exposition only
+    std::string target_;  // exposition only
+
 public:
     link(const link&)            = default;
     link& operator=(const link&) = default;
@@ -10175,6 +10179,78 @@ an alternative name is target().  links will be constr
 for you when the time zone database is initialized.
 

+
+const string& link::name() const
+
+
+

+Returns: name_. +

+
+ +
+const string& link::target() const
+
+
+

+Returns: target_. +

+
+ +
+bool operator==(const link& x, const link& y)
+
+
+

+Returns: x.name() == y.name(). +

+
+ +
+bool operator!=(const link& x, const link& y)
+
+
+

+Returns: !(x == y). +

+
+ +
+bool operator< (const link& x, const link& y)
+
+
+

+Returns: x.name() < y.name(). +

+
+ +
+bool operator> (const link& x, const link& y)
+
+
+

+Returns: y < x. +

+
+ +
+bool operator<=(const link& x, const link& y)
+
+
+

+Returns: !(y < x). +

+
+ +
+bool operator>=(const link& x, const link& y);
+
+
+

+Returns: !(x < y). +

+
+