On 09/11/2017 10:15 AM, Claire wrote:

Dear all,

I had a code compiling fine on the latest dealii release (8.5.1).
However compiling it with the latest version from git, I got some compiling issues. The error messages would tell me
*error: ‘std_cxx11’ does not name a type* or
*error: ‘std_cxx11’ has not been declared

*when using :

typedef std_cxx11::tuple< typename hp::DoFHandler<dim>::active_cell_iterator, typename hp::DoFHandler<dim>::active_cell_iterator
                         > IteratorTuple;


It seems that the std_cxx11 namespace does not exit anymore, and that std:: should be used instead.
> (e.g. std::tuple should be used instead of std_cxx11::tuple)

You should be able to use either form. You probably just need to do
  #include <deal.II/base/std_cxx11/tuple.h>
at the top of your file.


However, when doing so, I get the following error:

/home/claire/Logiciels/dealii/deal.II-master/include/deal.II/base/synchronous_iterator.h:79:13: error: ‘std::tuple<dealii::TriaActiveIterator<dealii::DoFCellAccessor<dealii::hp::DoFHandler<2, 2>, false> >, dealii::TriaActiveIterator<dealii::DoFCellAccessor<dealii::hp::DoFHandler<2, 2>, false> > > dealii::SynchronousIterators<std::tuple<dealii::TriaActiveIterator<dealii::DoFCellAccessor<dealii::hp::DoFHandler<2, 2>, false> >, dealii::TriaActiveIterator<dealii::DoFCellAccessor<dealii::hp::DoFHandler<2, 2>, false> > > >::iterators’ is private

That is the result of a separate patch:
https://github.com/dealii/dealii/pull/4603/files

Best
 W.


--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to