Assign Cell to octave map: error

Alexander Rusakov alexander.rusakov at googlemail.com
Sat Mar 14 12:16:11 CDT 2009


Dear John,

 Thank you for your reply. Yes example you provided gives me a solution.

I am a newbie in development within Octave and I must apologize for possibly
stupid questions.  But I still can not find a rationale that for
std:ЖЖmap<string,Cell>  octave requests of all objects Cell type some
special internal properties like its dimension.

  Why can't I have two cells with different properties in one map? I am not
aware of such a limitation of std::map.  Is it a limitation of octave_map or
a Cell class?  If yes then probably it must be documented in some API
description?

  The other problem I faced is a lack of documentation :(.  Probably it is
worth to add a couple of more examples to cell and octave_map documentation.
For instance example from :


http://www.nabble.com/Vectors-of-Structures-in-C%2B%2B-td3835119.html#a3858205

in documentation could help me much.

Thanks and Best Regards,
Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090314/e971b155/attachment.html 


More information about the Bug-octave mailing list