
Am Sunday 06 September 2009 20:46:42 schrieb Pierre Morcello:
Hi,
I thought you were talking about a set of macros???
It is a set of macro because there is also a 'breakable if' and also 'breakable else'.
However, the idea is sufficient for me, I can just declare the macro myself
Yes, I can understand that : I used to do the same than boost::non_copiable.. But I don't want to keep good ideas for myself.
There is clearly no technical difficulties here. It's more declaring : "there is an interesting way of programming some tedius tasks that use if/else/ do while contructs everywhere".
I've never seen such a case anywhere, let alone everywhere. if you need a construct that forms a scope, accomplishes a tasks and then exists the scope from anywhere in between, that's a function.