We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d48eff commit 2931472Copy full SHA for 2931472
src/datadog/rate.h
@@ -1,5 +1,13 @@
1
#pragma once
2
3
+// This component provides a `class`, `Rate`, that is a `double` whose value is
4
+// between zero and one, inclusive.
5
+//
6
+// `Rate` objects are obtained by calling the static member function
7
+// `Rate::from` with a `double` argument. A default-constructed `Rate` has the
8
+// zero value. The static member functions `Rate::one` and `Rate::zero` are
9
+// provided for convenience.
10
+
11
#include <variant>
12
13
#include "expected.h"
0 commit comments