U++ framework
Do not panic. Ask here before giving up.

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: 656
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: Wed Sep 16 06:26:50 GMT+2 2026

Total time taken to generate the page: 0.00795 seconds