simple type conversion question

Discussion in 'C++' started by Newsgroup - Ann, Aug 7, 2003.

  1. Hi, I got a question a tricky type conversion:

    double * ==> const double * and
    double ** ==> const double * const * are both permitted, while
    double ** ==> const double ** is NOT permitted.

    Why is that? I checked the FAQ but found no answers.

    Thanks.
    Newsgroup - Ann, Aug 7, 2003
    #1
    1. Advertising

  2. On Thu, 7 Aug 2003 00:54:50 -0400, "Newsgroup - Ann" <> wrote:

    >Hi, I got a question a tricky type conversion:
    >
    >double * ==> const double * and
    >double ** ==> const double * const * are both permitted, while
    >double ** ==> const double ** is NOT permitted.
    >
    >Why is that? I checked the FAQ but found no answers.


    Check the FAQ again, it's in there.
    Alf P. Steinbach, Aug 7, 2003
    #2
    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. luna
    Replies:
    1
    Views:
    6,798
  2. ibiza
    Replies:
    2
    Views:
    5,320
    ibiza
    Jan 27, 2006
  3. Chris
    Replies:
    2
    Views:
    21,310
    Chris
    May 11, 2006
  4. NevilleDNZ
    Replies:
    1
    Views:
    586
    NevilleDNZ
    Jan 1, 2007
  5. Gerry

    Simple Type conversion

    Gerry, Feb 5, 2008, in forum: VHDL
    Replies:
    2
    Views:
    507
Loading...

Share This Page