Uphill
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Sun May 31 17:52:35 PDT 2015
On Sun, 31 May 2015 07:54:26 +0000, Paulo Pinto wrote:
> Using macros in C++ is considered bad style and a sign of someone
> sticking to Cisms.
>
> With meta-programming, templates, strong enums, const, constexpr and
> inline there are very few valid reasons to use macros other than C
> copy-paste compatibility.
and the fact that it's way easier to write a C-like macro than C++
template. ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150601/6ca50888/attachment.sig>
More information about the Digitalmars-d
mailing list