[C++-sig] Problems with enum types in structs
David Abrahams
dave at boost-consulting.com
Wed Dec 18 22:05:25 CET 2002
Mark Russell <mrussell8081 at pacbell.net> writes:
> The following code triggers an assert when I try to use a color type in
> struct est. This works in boost 1.29 enums has been recently changed to add
> export_values is there something different I should be doing at this
> stage.
No, it's my fault. In fixing the ability to write:
x.y.some_mutating_function()
where x and y are wrapped class instances, I broke the ability to
access enum members as attributes.
> Thanks in advance. --Mark
Fixed now in CVS.
Thanks for the bug report!
--
David Abrahams
dave at boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution
More information about the Cplusplus-sig
mailing list