In message <x88r93tb60y.fsf@adglinux1.hns.com>, nbecker@fred.net writes:
>
>I want to interoperate with existing C libraries that expect a
>pointer. High performance computing requires this (at least for
>now). My point is not that there is anything wrong with libstdc++.
>For high performance we need a different vector-like container that
>does interoperate with C.
You've already got it. What people have been telling you is that the
way you were converting from vector->pointer was wrong. Use the
&in[0] syntax and you should be just fine.
>Are there any other STL-compatible containers that have the required
>properties?
Keep on using vector. Change your conversion code. It will work with
both old and new libraries. Be happy.
-------------------------------------------------------------------------------
Lee Iverson SRI International
leei@ai.sri.com 333 Ravenswood Ave., Menlo Park CA 94025
http://www.ai.sri.com/~leei/ (650) 859-3307
--------------------- Object Oriented Numerics List --------------------------
* To subscribe/unsubscribe: use the handy web form at
http://oonumerics.org/oon/
* If this doesn't work, please send a note to owner-oon-list@oonumerics.org
This archive was generated by hypermail 2b29 : Wed Feb 20 2002 - 03:20:14 EST