Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
You've currently chosen the 1.90.0 version. If a newer release comes out, you will continue to view the 1.90.0 version, not the new latest release.
This concept describes the requirements for the type used for color values, as in for coloring a graph during a breath-first search to mark which vertices have been visited.
| T | A type that is a model of ColorValue. |
| cv | An object of type T. |
| Name | Expression | Return Type | Description |
|---|---|---|---|
| Get Color White | color_traits<T>::white() | T | Returns an object that represents the color white. |
| Get Color Gray | color_traits<T>::gray() | T | Returns an object that represents the color gray. |
| Get Color Black | color_traits<T>::black() | T | Returns an object that represents the color black. |
| Copyright © 2000-2001 |
Jeremy Siek,
Indiana University (jsiek@osl.iu.edu) Lie-Quan Lee, Indiana University (llee@cs.indiana.edu) Andrew Lumsdaine, Indiana University (lums@osl.iu.edu) |