@@ -443,11 +443,11 @@ template <unsigned int d_, unsigned int ambient_dim, \
443
443
typename boost::property_map< \
444
444
Linear_cell_complex_for_combinatorial_map<d_, ambient_dim, Traits_, Items_, Alloc_, CMap , Storage_>, \
445
445
TAG<T> >::const_type \
446
- get (TAG<T>, const Linear_cell_complex_for_combinatorial_map<d_, ambient_dim, Traits_, Items_, Alloc_, CMap , Storage_>&) \
446
+ get (TAG<T>, const Linear_cell_complex_for_combinatorial_map<d_, ambient_dim, Traits_, Items_, Alloc_, CMap , Storage_>&, const T& default_value = T() ) \
447
447
{ \
448
448
typedef Linear_cell_complex_for_combinatorial_map<d_, ambient_dim, Traits_, Items_, Alloc_, CMap , Storage_> LCC;\
449
449
typedef typename boost::graph_traits<LCC>::DESC DESC; \
450
- return internal::Dynamic_property_map<DESC,T>();\
450
+ return internal::Dynamic_property_map<DESC,T>(default_value );\
451
451
} \
452
452
\
453
453
template <unsigned int d_, unsigned int ambient_dim, \
@@ -461,11 +461,11 @@ template <unsigned int d_, unsigned int ambient_dim, \
461
461
typename boost::property_map< \
462
462
Linear_cell_complex_for_combinatorial_map<d_, ambient_dim, Traits_, Items_, Alloc_, CMap , Storage_>, \
463
463
TAG<T> >::type \
464
- get (TAG<T>, Linear_cell_complex_for_combinatorial_map<d_, ambient_dim, Traits_, Items_, Alloc_, CMap , Storage_>&) \
464
+ get (TAG<T>, Linear_cell_complex_for_combinatorial_map<d_, ambient_dim, Traits_, Items_, Alloc_, CMap , Storage_>&, const T& default_value = T() ) \
465
465
{ \
466
466
typedef Linear_cell_complex_for_combinatorial_map<d_, ambient_dim, Traits_, Items_, Alloc_, CMap , Storage_> LCC;\
467
467
typedef typename boost::graph_traits<LCC>::DESC DESC; \
468
- return internal::Dynamic_property_map<DESC,T>();\
468
+ return internal::Dynamic_property_map<DESC,T>(default_value );\
469
469
} \
470
470
}
471
471
0 commit comments