File tree Expand file tree Collapse file tree 4 files changed +4
-14
lines changed
Expand file tree Collapse file tree 4 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -79,10 +79,7 @@ float Bfloat16ToFloat(BFloat16 v);
7979// / \ingroup Data types
8080class BFloat16 {
8181 public:
82- // / Zero initialization.
83- // /
84- // / \id zero
85- constexpr BFloat16 () : rep_(0 ) {}
82+ BFloat16 () = default ;
8683
8784 // / Possibly lossy conversion from any type convertible to `float`.
8885 // /
Original file line number Diff line number Diff line change @@ -85,8 +85,7 @@ class Float8Base {
8585
8686 public:
8787 static constexpr int kBits = 8 ;
88-
89- constexpr Float8Base () : rep_(0 ) {}
88+ Float8Base () = default ;
9089
9190 template <typename T>
9291 explicit Float8Base (T i,
Original file line number Diff line number Diff line change @@ -48,10 +48,7 @@ constexpr int8_t SignedTrunc2(int8_t x) {
4848// / \ingroup Data types
4949class Int2Padded {
5050 public:
51- // / Zero initialization.
52- // /
53- // / \id zero
54- constexpr Int2Padded () : rep_(0 ) {}
51+ Int2Padded () = default ;
5552
5653 // / Possibly lossy conversion from any type convertible to `int8_t`.
5754 // /
Original file line number Diff line number Diff line change @@ -49,10 +49,7 @@ constexpr int8_t SignedTrunc4(int8_t x) {
4949// / \ingroup Data types
5050class Int4Padded {
5151 public:
52- // / Zero initialization.
53- // /
54- // / \id zero
55- constexpr Int4Padded () : rep_(0 ) {}
52+ Int4Padded () = default ;
5653
5754 // / Possibly lossy conversion from any type convertible to `int8_t`.
5855 // /
You can’t perform that action at this time.
0 commit comments