Open farmerpiki opened 2 months ago
Of a Cpp2 function, its Cpp1 declaration. Of a Cpp2 non-expression alias, its Cpp1 declaration. Of a Cpp2 expression alias, its Cpp1 definition.
Yeah, it doesn't mention namespaces.
I suppose they're implicit, since they're required anyways.
The comment is from months before using
declarations (commit dd047033de5a691721069eb9ddb5b4f7892afa94).
quick example for reproducing:
results in:
being declared before
[[nodiscard]] auto xf() -> int;
which makes the code not compile due to cpp1 requiring ordering.