That's great unless you have this:
#ifdef FOOBAR
int foo_var = foo_init();
#endif
...
#ifdef FOOBAR
foo_use(foo_var);
#endif
...
#ifdef FOOBAR
foo_use_again(foo_var);
#endif
The C++ approach also makes ifdef'ing existing code easier -- you often
don't have to introduce new scopes that the C approach would require.
-- Chip Salzenberg - a.k.a. - <chip@perlsupport.com> "... under cover of afternoon in the biggest car in the county?!" //MST3K- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/