Skip to content

Conversation

@ITHelpDec
Copy link

As it stands, this code will not compile.

Provided the headers are self-explanatory, consider exercising consistency with namespaces (like what can be seen with std::vector<T> and std::future<T>).

Either that or make namespace declarations / directives clear in the example, e.g.

using std::experimental::latch;
// using std::latch since C++20

...or...

using namespace std;

std::vector and std::future declared explciity with std::
feels sensible to remain consistent with namespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant