3 ms·
Except for C++.
by alphanullmeric 3y ago
Except for C++.
- pie_flavor 3y agoYou mean the language which, in every major implementation, that particular function is a macro?
- plorkyeran 3y agoNone of printf, iostreams, or std::fmt are macros in any implementation I'm aware of.
- pie_flavor 3y agova_arg, which drives printf, is what I was referring to, and is generally a macro, and printf is what I was assuming alphanullmeric was referring to. iostreams defeat the point, since Rust is just as capable of the functionality and indeed the exact syntax, and std::format uses the properties of templates that are exactly like macros in both benefits and drawbacks, templates being an unusual cross between macros and generics.
- alphanullmeric 3y agoWhat macro? https://en.cppreference.com/w/cpp/io/print https://en.cppreference.com/w/cpp/io/print