Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » vectormap
vectormap [message #22261] Sun, 28 June 2009 13:25 Go to next message
sapiency is currently offline  sapiency
Messages: 56
Registered: September 2008
Member
Hi,

actually I've no idea why the example does not work ...
maybe someone can explain me the problem ...

regards

reinhard
Re: vectormap [message #22263 is a reply to message #22261] Sun, 28 June 2009 17:39 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi,

You need to declare _OBJECT::operator== as const:
bool operator==(const _OBJECT& b)const { return ((Id == b.Id) && (SId == b.SId)); }


But I'm afraid, I'm not the right one to explain the reason... I don't really know much about U++ containers, just the basics I need to use them Smile

Honza
Re: vectormap [message #22264 is a reply to message #22263] Sun, 28 June 2009 21:40 Go to previous message
sapiency is currently offline  sapiency
Messages: 56
Registered: September 2008
Member
thanks ...

regards

reinhard

[Updated on: Sun, 28 June 2009 21:52]

Report message to a moderator

Previous Topic: Hidden Panic
Next Topic: GuiLock with Mingw
Goto Forum:
  


Current Time: Tue Apr 23 13:35:24 CEST 2024

Total time taken to generate the page: 0.02163 seconds