[aspect-devel] ‘ref’ is not a member of ‘std’

Wolfgang Bangerth bangerth at tamu.edu
Thu Sep 29 20:14:49 PDT 2016


On 09/29/2016 08:43 PM, Lev Karatun wrote:
> Hi,
>
> I was trying to compile the latest version of Aspect on my lab computer, and
> got the followig error:
>
> /home/lev/aspect/aspect/source/simulator/initial_conditions.cc:99: error:
> ‘ref’ is not a member of ‘std’
> /home/lev/aspect/aspect/source/simulator/initial_conditions.cc:105: error:
> ‘ref’ is not a member of ‘std’
>
> I'm guessing it was introduced in someof the recent commits? How can I fix it?..

Lev -- can you test whether it works if you spell it as `std_cxx11::ref`?

If so, feel free to submit this as a patch, or let me know and I'll submit it. 
The former is my preference, and it also gets you onto the list of authors :-)

Best
  Wolfgang


-- 
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bangerth at colostate.edu
                            www: http://www.math.colostate.edu/~bangerth/



More information about the Aspect-devel mailing list