Fundament-Software / scopes

Fundament fork of the Scopes language
Other
3 stars 1 forks source link

Update genie.lua to use C++17 #13

Closed queercat closed 1 year ago

queercat commented 1 year ago

Issue Information

Currently (as of a8bfbf775a338ae2608a0cb7df816eb2272a6861) the genie.lua specification has the C++ version specified as version 14. This should not be the case and we should update the project to C++17.

Rationale

During resolution of #11 template specialization was employed in order to allow for a more readily modifiable generalization of the compile_object function. For better readability the feature (C++17) if constexpr was used requiring the upgrade.

Proposed Solution

Suggested solution is to create a new branch along the lines of "update-genie-cpp17" and update the genie file to use C++17.