|
Boost Users : |
From: Edward Diener (eddielee_at_[hidden])
Date: 2002-12-11 10:06:27
<wtrenker_at_[hidden]> wrote in message news:at5cvp+3ei5_at_eGroups.com...
> Many C/C++ libraries contain one or more .h/.hpp files that define
> various constants used by that library's API.
>
> What is the prescribed method for wrapping #defines that are used to
> represent constants?
>
> Also, how do I wrap anonymous enums?
What do you mean by "wrapping" ?
>
> For example, I have a project with an Enumerations.h file containing:
>
> #define MSG_A 23
> #define MSG_B 25
> enum {Red, White, Blue = 40 };
>
> What would the boost wrapper code for the above look like?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net