"Andrei Alexandrescu" wrote in message news:[email protected]...
I think the best route here - and the most in-the-spirit-of-D - is to
provide introspection on whether a function is being inlined or not. Then
we can always have in libraries:
bool uart(ubyte b)
{
static assert(__traits(inlined),
"Inlining of uart() must be supported.");
...
}
That would require that inlining is done in the frontend, which is not acceptable.
