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

Home » U++ Library support » U++ Core » A probably simple question about pick semantics
Re: A probably simple question about pick semantics [message #34915 is a reply to message #34795] Fri, 16 December 2011 22:35 Go to previous messageGo to previous message
peek is currently offline  peek
Messages: 13
Registered: March 2010
Promising Member
Hello cbpporter

I have tried it doing it by reference but the problem remains Sad.
template <class T>
void Test(T &v)
{
	// Nothing done
}

In fact I forgot to put the "&" in the sample code.

Is there a way to avoid this copy in a Vector passed by reference to a templated function?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: gdk_pixbuf-2.0 linker error
Next Topic: Small fix for Find in Algo.h
Goto Forum:
  


Current Time: Sat Apr 25 19:15:47 GMT+2 2026

Total time taken to generate the page: 0.00451 seconds