Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums
Members
Pages
Search
Help
Register
Login
Home
Home
»
U++ Library support
»
U++ Core
»
A probably simple question about pick semantics
Show:
Today's Messages
::
Show Polls
::
Message Navigator
E-mail to friend
Re: A probably simple question about pick semantics
[
message #34917
is a reply to
message #34915
]
Fri, 16 December 2011 22:49
mirek
Messages:
13980
Registered:
November 2005
Ultimate Member
peek wrote on Fri, 16 December 2011 16:35
Hello cbpporter
I have tried it doing it by reference but the problem remains
.
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?
More complex (read "compilable") example would be needed...
In general, this has to work, because such templates are widespread in the U++ code (read "theide would not run"
Mirek
Report message to a moderator
[
Message index
]
A probably simple question about pick semantics
By:
peek
on Mon, 12 December 2011 16:58
Re: A probably simple question about pick semantics
By:
cbpporter
on Mon, 12 December 2011 17:08
Re: A probably simple question about pick semantics
By:
peek
on Fri, 16 December 2011 22:35
Re: A probably simple question about pick semantics
By:
mirek
on Fri, 16 December 2011 22:49
Re: A probably simple question about pick semantics
By:
peek
on Sat, 17 December 2011 00:26
Previous Topic:
gdk_pixbuf-2.0 linker error
Next Topic:
Small fix for Find in Algo.h
Goto Forum:
- Community
U++ community news and announcements
PR, media coverage, articles and documentation
U++ Webs: Functioning, Layout , Design, Features and Structure of these forums, homepage etc.
Coffee corner
Newbie corner
U++ based job offers
- Developing U++
U++ Developers corner
External resources
Releasing U++
UppHub
Bugs (& fixes)
Documentation
U++ TheIDE and Library: Releases and ChangeLogs
Mac OS
Android
- U++ Library support
U++ Library : Other (not classified elsewhere)
U++ Core
Look and Chameleon Technology
U++ Libraries and TheIDE: i18n, Unicode and Internationalization
U++ SQL
U++ MT-multithreading and servers
U++ Callbacks and Timers
U++ Widgets - General questions or Mixed problems
TopWindow&PopUp, TrayIcon
Menus&Toolbars
StatusBar&InfoCtrl
Splitter
TabCtrl
Slider&ProgressIndicator
ArrayCtrl, HeaderCtrl & GridCtrl
TreeCtrl
RichText,QTF,RTF...
LineEdit, EditFields, DocEdit
Draw, Display, Images, Bitmaps, Icons
FileSel&FileList, Path
CalendarCtrl
Skylark
ScatterDraw & ScatterCtrl
Archive
- U++ TheIDE
U++ TheIDE: Other Features Wishlist and/or Bugs
U++ TheIDE: Compiling, Linking, Debugging of your packages
U++ TheIDE: Installation, Compiling and Running of theide
U++ TheIDE: CodeEditor, Assist++, Topic++
U++ TheIDE: Packages
U++ TheIDE: Layout (Forms) Designer
U++ TheIDE: Icon designer
- Extra libraries, Code snippets, applications etc.
U++ users applications in progress and useful code snippets, including reference examples!
U++ Esc Interpreter, Esc Macros and templates
C++ language problems and code snippets
Applications created with U++
OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
] [
]
Current Time:
Thu May 23 16:16:45 CEST 2024
Total time taken to generate the page: 0.01668 seconds