doyubkim / fluid-engine-dev

Fluid simulation engine for computer graphics applications
https://fluidenginedevelopment.org/
MIT License
1.89k stars 264 forks source link

Upgrade to C++14 #162

Open doyubkim opened 6 years ago

doyubkim commented 6 years ago

Some features like constexpr, attribute, variable template, and better type deduction would make the code more cleaner. Should be very cautious, though. "Modern" != "Clean/Better"

This means we also want to upgrade the minimum build tool requirements. The out-of-the-box solution for any given OS should support C++14 (or the feature we need at least).

kentbarber commented 6 years ago

Since Cinema 4D uses C++11 then if this goes ahead I might not be able to use the code anymore. It would be great if it could be kept at C++11 until such time as the features added actually benefit the code base functionality rather than just make it look cleaner.

kentbarber commented 6 years ago

Also I need to be able to compile with Visual Studio 2015, so any change to that requirement will also break the Cinema 4D build.

doyubkim commented 6 years ago

For v2, I am targeting VS 2015 / Ubuntu 16.04 for the minimum version. So I won’t use the latest 14 features if not supported on those tools/platforms.

kentbarber commented 6 years ago

Perfect. Looking forward to trying out the new GPU work you have been doing.