Trying to replace vector with std::map as follows.
Replace
typedef string Colour;
struct edge_properties
{
vector < set< Colour
> eColours;
}
with
typedef string Colour;
struct edge_properties
{
std::map < int, set< Colour > > emColours;
}
Using
property_map < graph_t, map < int, > > edge_properties::*>::type
emColours_map =get(&edge_properties::emColours,g);
getting compiler errors
error: template argument 2 is invalid
error: template argument 4 is invalid
Thanks
-JR
ReplyReply AllMove...InboxBGLGo to Previous message | Go to Next message | Back to Messages
Select Message EncodingASCII (ASCII)Greek (ISO-8859-7)Greek (Windows-1253)Latin-10 (ISO-8859-16)Latin-3 (ISO-8859-3)Latin-6 (ISO-8859-10)Latin-7 (ISO-8859-13)Latin-8 (ISO-8859-14)Latin-9 (ISO-8859-15)W. European (850)W. European (CP858)W. European (HPROMAN8)W. European (MACROMAN8)W. European (Windows-1252)Armenia (ARMSCII-8)Baltic Rim (ISO-8859-4)Baltic Rim (WINDOWS-1257)Cyrillic (866)Cyrillic (ISO-8859-5)Cyrillic (KOI8-R)Cyrillic (KOI8-RU)Cyrillic (KOI8-T)Cyrillic (KOI8-U)Cyrillic (WINDOWS-1251)Latin-2 (852)Latin-2 (ISO-8859-2)Latin-2 (WINDOWS-1250)Turkish (ISO-8859-9)Turkish (WINDOWS-1254)Arabic (ISO-8859-6, ASMO-708)Arabic (WINDOWS-1256)Hebrew (856)Hebrew (862)Hebrew (WINDOWS-1255)Chinese Simplified (GB-2312-80)Chinese Simplified (GB18030)Chinese Simplified (HZ-GB-2312)Chinese Simplified (ISO-2022-CN)Chinese Simplified (WINDOWS-936)Chinese Trad.-Hong Kong (BIG5-HKSCS)Chinese Traditional (BIG5)Chinese Traditional (EUC-TW)Japanese
(SHIFT_JIS)Japanese (EUC-JP)Japanese (ISO-2022-JP)Korean (ISO-2022-KR)Korean (EUC-KR)Thai (TIS-620-2533)Thai (WINDOWS-874)Vietnamese (TCVN-5712)Vietnamese (VISCII)Vietnamese (WINDOWS-1258)Unicode (UTF-7)Unicode (UTF-8)Unicode (UTF-16)Unicode (UTF-32)| Full Headers
Mail Search
#yui-main { background-color:#D6DEEC }gLaunchProfile.stop('RT_RP', false);gLaunchProfile.start('RT_BP');gLaunchProfile.start('LD_JS_BP');YAHOO.mc.intl = "us";YAHOO.mc.IM_TOGGLE_STRINGS = {"im_settings_helpurl" : "http://help.yahoo.com/l/us/yahoo/mail/classic/chat/","im_settings_help_toggle" : "1","im_enable_mobile_l10n": "1","im_sign_in": "true","im_time_format_am" : "AM","im_time_format_pm" : "PM","im_date_time_format" : "{M}/{d}/{yy} {h}:{mm} {A}"};if (YAHOO.mc.page.generic) {YAHOO.mc.page.generic.initComposeMenu();}YAHOO.mc.page.BasieSpaceId= "398300973";YAHOO.mc.page.TriggerULT=true;YAHOO.util.Event.onDOMReady(function () {sessionMgr.initSession();sessionMgr.loadFromBookmarks();});var adPrefetch = true;var isAdPrefetched = false;if (document.getElementById("JSMailOptionsLink")) {document.getElementById("JSMailOptionsLink").href = optionObj["JSMailOptionsLink"];}if (document.getElementById("chk_pop_options") ||
document.getElementById("chk_pop_error") || document.getElementById("option_bad_folder") || document.getElementById("folders_options_spam") || document.getElementById("folders_options_sent") || document.getElementById("spam_edit_options")) {YAHOO.util.Event.addListener(YAHOO.mc.optionsID, "click", displayOptions, optionObj);}YAHOO.namespace("fcue");
YAHOO.mc.FCUE_METADATA = {imInit:"",imSent:"",fcElap:"1254813133500",fcEcap:"2",fcNag:"",inEcap:"",inElap:""};YAHOO.mc.noCues = false;YAHOO.mc.msgrLoaded = false;YAHOO.mc.loadMsgr = function () {clearTimeout(YAHOO.mc.msgrLoadID);if (hasIM && !YAHOO.mc.msgrLoaded) {YAHOO.mc.msgrLoaded = true;YAHOO.util.Get.script("http://mail.yimg.com/d/combo?/mg/8_0_4/js/im_blue_all.js&/mg/8_0_4/js/us_strings.js&/mg/8_0_4/js/msgr.js");}};YAHOO.util.Event.on(window, "load", YAHOO.mc.loadMsgr);YAHOO.mc.msgrLoadID = setTimeout(YAHOO.mc.loadMsgr, 5000);
if (YAHOO.mc.page.galaxy) {
YAHOO.mc.page.galaxy.cleanup();
}
YAHOO.mc.page.galaxy = new GalaxyHandler();
function myMsgHandler(fid, mid) {
YAHOO.mc.page.galaxy.evtCallBack("showMessage?fid=" + fid + "&mid=" + mid + "&.rand=557745628");
}
YAHOO.galaxy.setMsgListener(myMsgHandler);
function myFolderHandler(fid, filterBy) {
var filterUrl = "";
if (filterBy) {
filterUrl += "&filterBy=" + filterBy;
}
YAHOO.mc.page.galaxy.evtCallBack("showFolder?fid=" + fid + filterUrl + "&.rand=557745628");
}
YAHOO.galaxy.setFolderListener(myFolderHandler);
gLaunchProfile.stop('LD_JS_BP', false);resizeLeftPane();gLaunchProfile.start('RT_AD_FOOT');