bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ Vectors!!!


From: Thomas Dickey
Subject: Re: C++ Vectors!!!
Date: Sun, 7 Apr 2002 06:05:22 -0400
User-agent: Mutt/1.2.5i

On Sat, Apr 06, 2002 at 09:14:20PM -0500, Joe Davies wrote:
> Hi,
> 
> Figured it out!  It was a matter of #undef'ing erase, move and clear for use
> with the Vector class.

I did that before 5.2 - here's the chunk from the bottom of curses.h:

#ifdef __cplusplus

/* these names conflict with STL */
#undef box
#undef clear
#undef erase
#undef move
#undef refresh

}
#endif

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]