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

Discussion in 'C++' started by Ahti Legonkov, Dec 12, 2003.

  1. 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
    Ahti Legonkov, Dec 12, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Phil Winstanley [Microsoft MVP ASP.NET]

    Re: validateRequest="false" not working in web.config or page directive

    Phil Winstanley [Microsoft MVP ASP.NET], May 16, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    640
    Phil Winstanley [Microsoft MVP ASP.NET]
    May 16, 2004
  2. usr2003
    Replies:
    4
    Views:
    582
    usr2003
    Sep 19, 2003
  3. Frank Schmitt
    Replies:
    0
    Views:
    487
    Frank Schmitt
    Oct 14, 2003
  4. Leslaw Bieniasz
    Replies:
    1
    Views:
    333
    mlimber
    Apr 5, 2006
  5. =?ISO-8859-1?Q?Szabolcs_Horv=E1t?=
    Replies:
    4
    Views:
    491
    Daniel T.
    Oct 28, 2006
Loading...

Share This Page