Boost

From ProgrammingExamples
Revision as of 20:40, 7 June 2011 by Daviddoria (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The following examples are frequent use cases of parts of the Boost (http://www.boost.org/) library. Each example includes a CMakeLists.txt file so it can be easily compiled.

  • Bidirectional (both ways) map
  • Glorified function pointers (function.hpp and bind.hpp)
  • Create a histogram (accumulator)
  • Matrix
  • Multi dimensional array
  • Simple command line argument parsing (ProgramOptions)
  • Multiple command line argument parsing (ProgramOptions)
  • ProgressBar
  • Threads
  • Threads with member functions
  • ThreadCommunication
  • Timer
  • Signal/slot pattern
  • Signal/slot pattern with member functions
  • Signal/slot pattern with member classes
  • Signal/slot pattern with member classes which have parameters
  • Signals2: Signal/slot pattern with type safety
  • Signals2: Signal/slot pattern with parameters type safety

Boost Graph Library (BGL)

  • Create a graph
  • Read a graph from a file
  • Write a graph to a file
  • Add properties to edges
  • Add properties to vertices
  • Bundled properties
  • Get a list of neighboring (adjacent) vertices
  • Directed graphs only give access to out edges
  • Bidirectional graphs give access to both in and out edges
  • Number of incoming, outgoing, and total edges
  • Breadth first search (BFS)
  • Depth first search (DFS)
Retrieved from "http://programmingexamples.net/w/index.php?title=Boost&oldid=4504"

Navigation menu

Views

  • Page
  • Discussion
  • View source
  • History

Personal tools

  • Log in
  • Request account

Navigation

  • Main page
  • Recent changes
  • Random page
  • Help

 

Tools

  • What links here
  • Related changes
  • Special pages
  • Permanent link
  • Page information
Powered by MediaWiki
  • Privacy policy
  • About ProgrammingExamples
  • Disclaimers