A Property Tag is a type used to name or identify properties that are
attached to the vertices and edges of a graph. A Property type is not
the type of the actual property values. Objects of the Property type
are not used except to carry the type information which specifies the
property. See the section about Custom
Edge Properties for a description of how to define your own
property tags.
Это необходимо в качестве обходного пути при использовании компиляторов, которые не поддерживают частичную специализацию (и, следовательно, не позволяют нам использоватьboost::is_same, чтобы определить, одинаковы ли два тега свойств). Класс свойств_numопределен вboost/pending/property.hpp.
On compilers that do not support partial specialization, each Property
type is also required to specialize
property_num<PropertyTag> to contain an enum named
value which uniquely identifies the property type.
Статья Property раздела может быть полезна для разработчиков на c++ и boost.
Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.