string literals

This commit is contained in:
Thomas Krijnen
2021-08-07 10:40:43 +02:00
parent 5d14f187b0
commit 34cb672075
2 changed files with 21 additions and 18 deletions
+3 -1
View File
@@ -55,6 +55,8 @@
#include <vld.h>
#endif
using namespace std::string_literals;
// The creation of Nurbs-surface for the IfcSite mesh, to be implemented lateron
void createGroundShape(TopoDS_Shape& shape);
@@ -71,7 +73,7 @@ int main() {
// Lateron changing the name of the IfcProject can be done by obtaining a reference to the
// project, which has been created automatically.
file.getSingle<IfcSchema::IfcProject>()->setName("IfcOpenHouse");
file.getSingle<IfcSchema::IfcProject>()->setName("IfcOpenHouse"s);
// To demonstrate the ability to serialize arbitrary opencascade solids a building envelope is
// constructed by applying boolean operations. Naturally, in IFC, building elements should be