Skip to content

Lab 4 Small Confusion #93

Open
Open
@NickyDCFP

Description

@NickyDCFP

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions