Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    STL AVL Map 1.3

    Download button

    No screenshots available
    Downloads: 694  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.0/5)
    5 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Daniel K. O. | More programs
    GPL / FREE
    August 4th, 2008, 05:45 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    STL AVL Map description

    STL AVL Map is an implementation of AVL-tree-based map, multimap, set and multiset containers for g++ 4.1.1.

    STL AVL Map is an implementation of AVL-tree-based map, multimap, set and multiset containers for g++ 4.1.1.

    Almost everything on this library is based on libstdc++ v3 code, so the same license applies. The AVL operations (in lib/tree.cpp) were written by Daniel Khler Osmari, and are under the same license as libstdc++.

    This is supposed to be a drop-in replacement for the red-black tree provided by libstdc++. The package also provides the original RB-tree (in the tests directory) to allow a fair comparision; it also builds a library, libavlmap.a that you can use side by side with the standard implementation.

    This is an example of code using it:

    #include < algorithm >
    #include < iostream >
    #include < iterator >
    #include < avl/set.h >

    int main()
    {
    avl::set my_set;

    my_set.insert(5);

    avl::multiset my_mset;

    my_mset.insert(2);
    my_mset.insert(3);
    my_mset.insert(2);

    /* Now it should print:
    2
    2
    3
    */
    std::copy(my_mset.begin(), my_mset.end(), std::ostream_iterator(std::cout, "n"));
    }

    Note that the set, multiset, map and multimap containers are defined in the "avl" namespace.

    What's New in This Release:

    · Updated license to GPLv3.
    · Updated code to match GCC 4.3.1.



    Product's homepage

      


    TAGS:

    C++ map | AVL-tree-based map | multiset containers | STL | AVL | Map

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM