|
Re: scoped macros: msg#00021lib.boost.documentation
troy d. straszheim wrote: Hey, Most welcome! I was about to post something about macro scopes. The current scoping behavior came after a brief chat between me and Eric while he was writing the include facility. I realize now that it *might* not be the best behavior. I emphasized "might" because I am not quite sure. Like you, I too use lots of macros. Now, I place them at the top. Yes, you can generate an index from them, even make it automatic (special defs?). I find it cumbersome that I can't just include the macros once and have it applied globally. Another possible behavior would be to get rid of macro scoping at the include level and move them over to the section level as I hinted in my previous email. I'm not yet sure but this seems to be a more practical approach. Either that or we can also have explicit control of macro scopes. I'm leaning towards the former. Let me know your thoughts. (Oh and BTW, we'll have parametric macros soon so macro names like *something might not work anymore. Again it's a big might. At most, we can allow any character except the parentheses '(', ')', comma ',' and spaces. So the smiley :-) macro in the original QB docs will have to go :-) ). Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Boost-docs mailing list Boost-docs@xxxxxxxxxxxxxxxxxxxxx Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | scoped macros: 00021, troy d. straszheim |
|---|---|
| Next by Date: | Re: Re: scoped macros: 00021, troy d. straszheim |
| Previous by Thread: | scoped macrosi: 00021, troy d. straszheim |
| Next by Thread: | Re: Re: scoped macros: 00021, troy d. straszheim |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |