
on Mon Sep 15 2008, Tony D <tony_in_da_uk-AT-yahoo.co.uk> wrote:
Markus: apologies for not including the full URL. The file is benum_v1.zip at http://www.boostpro.com/vault/
Full URL is hhttp://www.boostpro.com/vault/index.php?action=downloadfile&filename=benum_v1.zip&directory=&PHPSESSID=b088ed5a443221683e910543098c9107- note Google Chrome mistakes it for a query, but the vault CGI doesn't seem to cope with %3D/%26 encoding of = and &.
Thorsten / Marcus: roughly comparing to smart enum proposal: - BENUM _automates_ conversions based on stringified source code, which (postulating an extra macro "BENUM" hard-coding your favourite selection of meta-data container and optional features) allows BENUM(X, A = 1, B, C = 22, D = B|N); to approximate enum X { A = 1, B, C = 22, D = B|N }; and needs no further code to be streamable etc (preprocessor macros allow run-time cross-referencing of stringified source code with array of actual values)
This interface requires variadic (C99) preprocessor support, does it not? -- Dave Abrahams BoostPro Computing http://www.boostpro.com