View Issue Details

IDProjectCategoryView StatusLast Update
0003218OpenFOAMFeaturepublic2019-04-11 11:40
ReporterwwzhaoAssigned Tohenry 
Status closedResolutionsuspended 
PlatformGNU/LinuxOSUbuntuOS Version15.04
Product Versiondev 
Fixed in Version 
Summary0003218: Use C++11 move semantics for containers
DescriptionCurrently, the code relies heavily on Xfer class template. It would be nice to use C++11 move semantics instead.
TagsNo tags attached.



2019-04-09 10:03

manager   ~0010426

Sure, but OpenFOAM is 1.6million lines which I started writing in 1989 and predates STL by many years and the move semantics by decades.
Consistency is everything in maintainability so in order to replace Xfer and possibly even tmp with the C++11 move semantics OpenFOAM would require a massive rewrite. While this would be excellent and the code would certainly be improved by the change I have no idea how such huge maintenance task could be funded, we just don't receive anything like the funding necessary:


2019-04-11 11:40

manager   ~0010429

Requires maintenance funding.

Issue History

Date Modified Username Field Change
2019-04-09 09:51 wwzhao New Issue
2019-04-09 10:03 henry Note Added: 0010426
2019-04-09 10:04 henry Priority low => none
2019-04-09 10:04 henry Severity trivial => feature
2019-04-11 11:40 henry Assigned To => henry
2019-04-11 11:40 henry Status new => closed
2019-04-11 11:40 henry Resolution open => suspended
2019-04-11 11:40 henry Note Added: 0010429