Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Can tcb::span be forward-declared safely? #54

Open
Open
Can tcb::span be forward-declared safely?#54

Description

I have several using (typedef) declarations for various tcb::span-based types, that I would like to move to a mylib/fwd.h header, which is not supposed to include much, if at all. Thus I'd like to forward-declare tcb::span itself there too, instead of including the header. Is it possible? Beside the main struct, I don't think I need anything else, but just in case, what else could be fwd-decl there too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions