Skip to content
Snippets Groups Projects
  1. Jun 16, 2015
    • Christian Engwer's avatar
      [test,fieldvector] also test for GMPField · f2a969e3
      Christian Engwer authored
      
      most of the tests work. std::complex<GMPField> does not work as expected, but this is
      perhaps something we don't want to support. As std::complex does not allow to initialize
      with other parameters than the data type itself, we can not initialize from int or other
      compatible scalar values. The smae problem occures when interacting with int values directly.
      
      (cherry picked from commit bde9dc6e)
      Signed-off-by: default avatarCarsten Gräser <graeser@dune-project.org>
      f2a969e3
  2. Jun 09, 2015
  3. May 21, 2015
  4. May 11, 2015
  5. Apr 29, 2015
  6. Apr 20, 2015
  7. Apr 10, 2015
  8. Mar 15, 2015
  9. Mar 13, 2015
  10. Mar 12, 2015
  11. Mar 10, 2015
  12. Feb 27, 2015
  13. Feb 25, 2015
  14. Feb 12, 2015
  15. Feb 09, 2015
  16. Feb 06, 2015
    • Steffen Müthing's avatar
      [Utility] Add infrastructure to handle operator->() for both lvalues and proxies · 7623a530
      Steffen Müthing authored
      If an iterator facade (like entity iterators) wants to allow the
      embedded implementation to return either an (internally stored)
      reference or a temporary object and expose these two behaviors to enable
      performance optimizations, operator->() needs special handling: If the
      implementation returns a reference, operator->() in the facade can
      simply return the address of the referenced object, but if the returned
      object is a temporary, we need to capture and store it in a helper
      object to make sure it outlives the member access.
      
      This patch adds a little helper function that tansparently handles both
      cases.
      7623a530
    • Steffen Müthing's avatar
      [ForLoop] Port ForLoop TMP to C++11 · 732ca75c
      Steffen Müthing authored
      The ForLoop TMP used to put a number of restrictions on the arguments to
      apply(), mainly due to the limited capabilities of C++01 wrt. to
      argument forwarding.
      
      But now we have C++11, so we can throw away all that awkward code and
      replace it with a single forwarding function that supports arbitrary
      numbers of arbitrary combinations of lvalues and rvalues - all hail
      variadic templates and perfect forwarding!
      732ca75c
  17. Jan 11, 2015
Loading