Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ddevienne opened this issue Mar 8, 2023 · 0 comments
Open

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

ddevienne opened this issue Mar 8, 2023 · 0 comments

Comments

@ddevienne
Copy link

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?

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

No branches or pull requests

1 participant