Re : Re: lvalue required as increment operand -- why does the Standard requires this for fundamental

Discussion in 'C++' started by Leo \Equinox\ Gaspard, Jul 2, 2011.

  1. As you are going to make this algorithm templatized (otherwise you wouldn't say that you want it to work with any type), you could use is_fundamental, from C++11 or Boost, with enable_if.

    And, as a rationale, I do only see side effects.
     
    Leo \Equinox\ Gaspard, Jul 2, 2011
    #1
    1. Advertising

  2. * Leo "Equinox" Gaspard, on 03.07.2011 00:41:
    > ...


    Please don't use Google Groups' new interrface.

    It screws up threading in ordinary newsreaders, by omitting the references header.

    It's just more Usenet sabotage from Google (counting the spam, the signature
    delimiter sabotage, the blurring of Usenet versus GG) -- just Say No(TM).


    Cheers,

    - Alf

    --
    blog at <url: http://alfps.wordpress.com>
     
    Alf P. Steinbach /Usenet, Jul 3, 2011
    #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. Mr. SweatyFinger
    Replies:
    2
    Views:
    1,964
    Smokey Grindel
    Dec 2, 2006
  2. Replies:
    104
    Views:
    11,024
    Jordan Abel
    Oct 28, 2005
  3. Ben Pfaff

    lvalue required as increment operand

    Ben Pfaff, Dec 24, 2007, in forum: C Programming
    Replies:
    9
    Views:
    2,430
    Keith Thompson
    Dec 25, 2007
  4. Pavel
    Replies:
    13
    Views:
    1,090
    Pavel
    Jul 5, 2011
  5. Leo \Equinox\ Gaspard
    Replies:
    2
    Views:
    392
    James Lothian
    Jul 3, 2011
Loading...

Share This Page