// Copyright 2008-2010 Gordon Woodhull // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_MSM_MPL_GRAPH_SEARCH_COLORS_HPP_INCLUDED #define BOOST_MSM_MPL_GRAPH_SEARCH_COLORS_HPP_INCLUDED namespace boost { namespace msm { namespace mpl_graph { namespace search_colors { struct White {}; struct Gray {}; struct Black {}; } struct create_search_color_map : mpl::map<> {}; struct search_color_map_ops { template struct set_color : mpl::insert > {}; template struct get_color : mpl::if_, mpl::at, search_colors::White> {}; }; } // namespace mpl_graph } // namespace msm } // namespace boost #endif // BOOST_MSM_MPL_GRAPH_SEARCH_COLORS_HPP_INCLUDED