Search:

Type: Posts; User: anon

Search: Search took 0.04 seconds.

  1. Replies
    11
    Views
    2,384

    Sorry, my example was supposed to make it...

    Sorry, my example was supposed to make it explicit where an implicit constructor call would happen in OP's code.
  2. Replies
    11
    Views
    2,384

    Number n; int i; n = Number(i); That's...

    Number n;
    int i;
    n = Number(i);


    That's where a Number object is implicitly constructed (unless you make the single-argument constructor explicit).
Results 1 to 2 of 2