[Boost-bugs] [Boost C++ Libraries] #4204: tst remove, may remove others nodes too

Subject: [Boost-bugs] [Boost C++ Libraries] #4204: tst remove, may remove others nodes too
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-11 10:13:13


#4204: tst remove, may remove others nodes too
-------------------------------------+--------------------------------------
 Reporter: dino.puller@… | Owner: djowel
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 If you remove an element from a symbol table others may be removed too.

 example:

 main()
 {
 std::string s;
 double *d;
 qi::symbols<char, double> vars;

 vars.add("l1",12.0);
 vars.add("l2",0.0);
 vars.remove("l2");
 vars.find("l1");
 d = vars.find("l1");
 if (d)
    std::cout << "found\n";
 else
    std::cout << "not found\n";
 }

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4204>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC