|
|
|
|
|
by jeorgun
4154 days ago
|
|
>Unlike C++, 1. Macros from one crate aren't imported into another unless
> the user explicitly requests that they be. 2. Macro invocations are
> clearly macro invocations. You never have to wonder if something is a
> function or a macro. Given the reference to Boost, the author is almost certainly talking about template metaprogramming, not C macros. TMP is obviously a lot more limited in scope than Rust macros, but it could hardly be called dangerous; I doubt anyone's ever invoked it by accident. |
|