Re: [boost] port of test library to vacpp

29 May
2004
29 May
'04
5:29 p.m.
Hi Daryle ----- Mensaje original ----- De: Daryle Walker <darylew@hotmail.com> Fecha: Sábado, Mayo 29, 2004 6:36 pm Asunto: Re: [boost] port of test library to vacpp
On 5/27/04 5:14 AM, "Joaquín Mª López Muñoz" <joaquin@tid.es> wrote:
[SNIP]
Maybe the following is a good compromise
#if defined(BOOST_NO_INCLASS_MEMBER_INITIALIZATION) enum npos_type { npos = (size_type)-1 } #else static const size_t npos = (size_type)-1; #end
Doesn't the BOOST_STATIC_CONSTANT macro cover this?
Not quite. BOOST_STATIC_CONSTANT generates an *unnamed* enum, which is pecisely what was causing the error that originated this thread. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
7682
Age (days ago)
7682
Last active (days ago)
0 comments
1 participants
participants (1)
-
JOAQUIN LOPEZ MU?Z