You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This didn't trip me up for too long since I'm used to problems with C++ version dependencies, but I suffered a small setback because I used std::popcount, which is only in C++20, in my exercise3 solution. I was getting an error popcount is not a member of std, which I fixed by taking a quick peek at the previous labs' code and adding the following line to my dv CML: target_compile_features(tests PRIVATE cxx_std_20)
It might be nice to include a quick comment that this line is necessary to use C++20 language features.
The text was updated successfully, but these errors were encountered:
This didn't trip me up for too long since I'm used to problems with C++ version dependencies, but I suffered a small setback because I used
std::popcount
, which is only in C++20, in my exercise3 solution. I was getting an errorpopcount is not a member of std
, which I fixed by taking a quick peek at the previous labs' code and adding the following line to my dv CML:target_compile_features(tests PRIVATE cxx_std_20)
It might be nice to include a quick comment that this line is necessary to use C++20 language features.
The text was updated successfully, but these errors were encountered: