Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 09-13-2004, 07:25 AM   #1
Registered: Jun 2003
Location: Sevenoaks, UK
Distribution: Ubuntu
Posts: 183

Rep: Reputation: 30
C++ Function Argument


Today I was browsing the gtkmm documentation about glib::ustring type and say one method's arguments:
ustring (const ustring& other)
What shoud usting& mean? It's not a ustring type, it's neither a ustring reference(const ustring & other - i think this is reference) and nor ustring pointer(const ustring* other).

Thanks in advance

Old 09-13-2004, 08:50 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Umm, const ustring& is a reference.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to declare a defaul argument in my function? bigapple Programming 3 08-11-2005 10:27 PM
Function Pointer as an Argument in C trutnev Programming 5 05-24-2005 10:22 AM
what does it means with..."too many argument to function..."? ams Programming 2 03-10-2005 12:49 AM
c question: function with varied input argument blackzone Programming 1 09-12-2004 11:20 PM
passing function pointer as argument worldmagic Programming 7 08-04-2004 03:33 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration