We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13c04b7 commit 078f02cCopy full SHA for 078f02c
source/Ranges/TRange.hpp
@@ -176,7 +176,7 @@ namespace Langulus::Math
176
static constexpr bool CTTI_RangeTrait = true;
177
178
public:
179
- constexpr TRange() noexcept = default;
+ constexpr TRange() noexcept requires CT::Defaultable<T>;
180
constexpr TRange(const TRange&) noexcept;
181
constexpr TRange(const CT::Vector auto&) noexcept;
182
constexpr TRange(const CT::Scalar auto&) noexcept;
source/Ranges/TRange.inl
@@ -17,6 +17,9 @@
17
namespace Langulus::Math
18
{
19
20
+ TEMPLATE() LANGULUS(INLINED)
21
+ constexpr TME()::TRange() noexcept requires CT::Defaultable<T> {}
22
+
23
/// Copy constructor
24
TEMPLATE() LANGULUS(INLINED)
25
constexpr TME()::TRange(const TRange& a) noexcept {
0 commit comments