Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
why there is no variabel after &
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Victor Bazarov, post: 3994797"] Approximately the same as in a declaration of a function: void foo(int&) { std::cout << "foo\n"; } It means that we're going to catch 'SAException' by reference, but we don't really care about the exception object itself, so we don't provide a way to use it. In the function example we want it to have an argument but we don't care to use that argument, so we omit the name. V [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
why there is no variabel after &
Top