#4329 Don't accept non-finite floats

This commit is contained in:
Thomas Krijnen
2024-03-26 10:23:14 +01:00
parent e5fd6d9152
commit 55885f7a24
2 changed files with 31 additions and 2 deletions
+6 -1
View File
@@ -142,7 +142,12 @@ namespace IfcWrite {
// Overload to detect null values
void set(IfcUtil::IfcBaseInterface*const & v);
// Overloads to raise exceptions on non-finite values
void set(const double& v);
void set(const std::vector<double>& v);
void set(const std::vector< std::vector<double> >& v);
operator int() const;
operator bool() const;
operator boost::logic::tribool() const;