$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: William Trenker
Date: 2002-12-10 13:49:29
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?
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?
Thanks,
Bill