octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #38449] Changing default*units triggers a posi


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #38449] Changing default*units triggers a position update
Date: Mon, 30 Jun 2014 15:11:17 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:30.0) Gecko/20100101 Firefox/30.0

Follow-up Comment #9, bug #38449 (project octave):

Looks like I have underestimated this task: currently, the default values are
stored in a std::map<std::string, octave_value>, which means that the order in
which key/values are inserted is lost.
The only solution I can see is to replace this container by an
octave_scalar_map or a custom class that keeps track of the order in which the
values have been inserted (e.g. std::vector<std::pair<std::string,
octave_value>>). 

In any case this will involve many more changes than I had expected.

Does someone have another approach?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38449>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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