Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Re: Passing "classtype" as "this" argument of"class member function" disc

Reply
Thread Tools

Re: Passing "classtype" as "this" argument of"class member function" disc

 
 
Ahti Legonkov
Guest
Posts: n/a
 
      12-12-2003
wyldhoney ::

> polynomial.cc:26: passing `const Safe_Array' as `this' argument of `int
> Safe_Array::size()' discards qualifiers
>


Looks like Safe_Array::size() is non-const member function while the object
you are calling this function for is const.

--
Ahti Legonkov

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use a passing argument(returned argument)? ±è ÁØ¿µ Ruby 7 11-27-2008 03:53 AM
Passing a function as an argument and using the evaluated functionas an argument User1014 Javascript 1 11-30-2006 12:13 PM
Argument-per-argument Passing Trans Ruby 3 01-26-2005 05:58 PM
design question - member function argument or pointer member Gert Van den Eynde C++ 8 01-26-2004 05:20 PM
Re: Passing "classtype" as "this" argument of "class member function" disc Frank Schmitt C++ 0 10-14-2003 07:54 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57