This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
libstc++-v3 vector not convertible to pointer
- To: gcc at gcc dot gnu dot org, oon-list at oonumerics dot org
- Subject: libstc++-v3 vector not convertible to pointer
- From: nbecker at fred dot net
- Date: 30 Nov 2000 08:37:34 -0500
I see that in libstdc++-v3 (current cvs) a vector::iterator is no
longer compatible with a pointer. Specifically, this won't work:
reinterpret_cast<fftw_real*>(in.begin())
where in is vector.begin() and fftw_real is double.
Is there any alternative class I could use? This seems to be a
fundamental need for high performance computing, since we still we
need to interoperate with C for some time to come.