Skip to content

Conversation

@dylan-copeland
Copy link
Collaborator

Building with MFEM now requires C++17, and the necessary changes are made in this PR.

@dylan-copeland dylan-copeland added the WIP Work in progress label Sep 29, 2025
const char *device_config = "cpu";
bool visualization = false;
bool visit = false;
bool use_visit = false;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing using namespace std; will likely also do the trick.

I think using namespace std; is considered bad practice, exactly for the reason it causes problems here... I also use it quite often :), just saying..

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good compromise might be:using namespace std::cout

According to:
https://www.geeksforgeeks.org/cpp/using-namespace-std-considered-bad-practice/

@ckendrick
Copy link
Collaborator

Closing since these changes are added in #320.

@ckendrick ckendrick closed this Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants