$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] enum / string translation
From: Celtic Minstrel (celtic.minstrel.ca_at_[hidden])
Date: 2009-07-27 11:37:04
My own solution for scoping enums has been to enclose it in a
namespace rather than a class, and import the name of the actual enum.
The only disadvantage is that the namespace must have a different name
than the enum; perhaps your solution is better.
Of course, C++0x enum classes beat either option.