Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2007-08-23 12:03:14


AMDG

Alexander Nasonov <alnsn <at> yandex.ru> writes:

> So, my current favorite is BOOST_SCOPE_EXIT( cref(c) ref(r) val(v) ).
> IMO, it looks more natural than (a)(b)(c). More verbose but this
> verbosity has a purpose.
>

I prefer BOOST_SCOPE_EXIT((cref c)(ref r)(val v))
for two reasons.
1) It makes it clear that they are /not/ function
   calls
2) It's slightly easier to implement because you
   can use BOOST_PP_SEQ_FOR_EACH.

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk