Skip to content

WITH_STL shouldn't try importing gsl::span if std::span is not available. #813

Description

@lalitb

As discussed in #742:
If the WITH_STL cmake option is enabled, the build should be using std::span if available (for C++20), and fall back to nostd::span instead of gsl::span ( or perhaps fail the build). Use gsl::span only if developers explicitly specify the WITH_GSL build option.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbuild and testhelp wantedGood for taking. Extra help will be provided by maintainers

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions