AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only

RValue References in XLC++ 12.1

  • 1.  RValue References in XLC++ 12.1

    Posted Wed July 16, 2014 04:32 AM

    Originally posted by: AlanGH


    Hi there,

    I have XLC++ 12.1 on AIX 6.1 and enabled rvalue references using -qlanglvl=extended0x and according to the documentation (http://pic.dhe.ibm.com/infocenter/comphelp/v121v141/topic/com.ibm.xlcpp121.aix.doc/proguide/rvaluereferences.html) I should be able to use "std::move" and "std::forward".

    Unfortunately, I cannot find where they are defined. They are supposed to be in <algorithm> but I could not see them in /usr/vacpp/include/algorithm.

    Any help, greatly apprecated.

     

    Alan

     


    #AIX-Forum