Skip to content
Snippets Groups Projects
  1. Apr 16, 2014
    • Markus Blatt's avatar
      [g++-4.4] Fixes missing std::initializer_list::const_iterator for g++-4.4. · bd498e0d
      Markus Blatt authored
      With g++-4.4 I got the following errors:
      
      fmatrix.hh:106: error: no type named ‘const_iterator’ in ‘class std::initializer_list<std::initializer_list<int> >’
      
      Looking into the header there is indeed the const_iterator (demanded by the standard)
      missing. Therefore I refactored the code to use std::copy_n and thus am omitting the iterator
      type.
      
      At the same time I made the actual copying safer for the case that the initializer_list
      is of different size and people compile with -DNDEBUG. The assertion for the size is still
      left in there. Remove the assert or the size computation at your discretion.
      bd498e0d
    • Oliver Sander's avatar
      7faf61fe
  2. Apr 14, 2014
  3. Apr 13, 2014
    • Christoph Gersbacher's avatar
      [type traits] Provide replacement for deprecated classes AlwaysFalse, AlwaysTrue · 4665e135
      Christoph Gersbacher authored
      The classes AlwaysFalse, AlwaysTrue reside in the deprecated header
      dune/common/static_assert, yet they are frequently used to document
      template code (see FS#1435 for details). As the C++11 standard library
      does not provide a straight forward replacement for theses classes, we
      offer C++11 style reimplementations. The replacements to_false_type,
      to_true_type reside in the namespace Std and are thus easily
      identifiable as Dune specifis.
      4665e135
  4. Apr 10, 2014
  5. Apr 09, 2014
  6. Apr 08, 2014
  7. Apr 07, 2014
  8. Apr 03, 2014
  9. Apr 02, 2014
  10. Mar 27, 2014
  11. Mar 23, 2014
  12. Mar 22, 2014
  13. Mar 21, 2014
Loading