3 ms·
All major c++ compilers have similar attributes but they are heavily discouraged by the compiler authors. Clang also has a flatten attribute which can be inter
by jcelerier 4y ago
All major c++ compilers have similar attributes but they are heavily discouraged by the compiler authors.
Clang also has a flatten attribute which can be interesting: it does the conjugate of marking functions inline: the function to which it is applied to will have all its own content inlined, e.g. [[clang::flatten]] void f() { a(); b(); }
will inline a and b