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 » Community » Newbie corner » Problems with AddPick operator| in Vector
Re: Problems with AddPick operator| in Vector [message #46471 is a reply to message #46463] Sat, 14 May 2016 05:20 Go to previous messageGo to previous message
Lance is currently offline  Lance
Messages: 527
Registered: March 2007
Contributor
change
95:	Vector&  operator|(T rval_ x)    { AddPick(x); return *this; }


to
95:	Vector&  operator|(T rval_ x)    { AddPick( pick(x) ); return *this; }



should fix the problem.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Translations in header file
Next Topic: Map with unique keys and transfer semantics?
Goto Forum:
  


Current Time: Fri May 10 05:45:09 CEST 2024

Total time taken to generate the page: 0.01369 seconds