Skip to content

[QUESTION] how would we handle cross platform abstractions with out macros? #136

@pheonixfirewingz

Description

@pheonixfirewingz

Hay I'm I love the new syntax for c++2 but how would we handle cross platform without the pre-processor. For example #if WIN32 > use this, and #if LINUX > use this. Without a mechanism like the pre-processor this would as far as I'm aware make it impossible to write cross platform code. unless there is a newer c++ 20/23/... feature I don't know about? What could be implemented into CPP2 to cater for this area of development projects?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions