This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ conversion rules ???
- To: Charles Galambos <ees1cg at ee dot surrey dot ac dot uk>
- Subject: Re: C++ conversion rules ???
- From: Jason Merrill <jason at cygnus dot com>
- Date: 22 Jun 1999 03:09:11 -0700
- Cc: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>, egcs at egcs dot cygnus dot com
- References: <m10vgOP-0003JqC@ainur.ee.surrey.ac.uk>
You could convert to char* first, then const char*. Or you could add a
non-const operator const char*().
Jason